GitHub
1
Connect a folder to a repository in the main
2
Force GitHub main to overwrite changes
3
force the specific branch to overwrite GitHub main
4
Get authentication
5
Get Stash
6
git branch --set-upstream-to=origin/main main
7
git branch -d branch_name
8
git branch -D branchname
9
git checkout <branch name>
10
git checkout HEAD .
11
git checkout HEAD changes.txt
12
git clone git@github.com:victorystreamlines/dictionary.git Laragon
13
git commit -m
14
Git Create Repository
15
git diff
16
git diff filename
17
git fetch
18
git log
19
git merge branch_name
20
git merge origin/master
21
git push
22
git push origin <your_branch_name>
23
git remote -v
24
git remote -v
25
git remote add origin https://github.com/victorystreamlines/abu-amra.git
26
git remote remove origin
27
git reset --hard <branch_name>
28
git reset --hard main
29
git reset --soft HEAD~1
30
git reset commit_SHA
31
git reset HEAD filename
32
git restore --staged path/to/file
33
git restore .
34
git restore filename.txt
35
git show HEAD
36
git show HEAD Hello.txt
37
git stash list
38
git stash pop
39
GitHub version
40
Install GitHub
41
push changes to GitHub
42
UnInstall GitHub