-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
33 lines (33 loc) · 873 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
git init
git clone ssh://git@github.com[username]/[repositary-name].git
git status
git add [file-name.txt]
git add -A
git commit -m "[commit message]"
git rm -r [file-name.txt]
git branch
git branch -a
git branch [branch name]
git branch -d [branch name]
git push origin --delete [branch name]
git checkout -b [branch name]
git checkout -b [branch name] origin/[branch name]
git checkout [branch name]
git checkout -
git checkout -- [file-name.txt]
git merge [branch name]
git merge [source branch] [target branch]
git stash
git stash clear
git push origin [branch master]
git push -u origin [branch name]
git push
git push origin --delete [branch name]
git pull
git pull origin [branch name]
git remote add origin
ssh://git@github.com[username]/[repositary-name].git
git remote set-url origin
ssh://git@github.com[username]/[repositary-name].git
git log
git log --summary