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 add origin https://github.com/victorystreamlines/abu-amra.git
25
git remote remove origin
26
git reset --hard <branch_name>
27
git reset --hard main
28
git reset --soft HEAD~1
29
git reset commit_SHA
30
git reset HEAD filename
31
git restore .
32
git restore filename.txt
33
git show HEAD
34
git show HEAD Hello.txt
35
git stash list
36
git stash pop
37
GitHub version
38
Install GitHub
39
push changes to GitHub
40
UnInstall GitHub