Skip to content

Commit aed1fe5

Browse files
authored
Create Git most used commands.md
1 parent ab3cb88 commit aed1fe5

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

Git most used commands.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Самые часто используемые команды git
2+
3+
`git init`
4+
5+
`git add --all`
6+
7+
`git add .` | `git add my_script.py`
8+
9+
`git commit -m "<message>"`
10+
11+
`git commit -am "<message>"`
12+
`git commit --amend`
13+
14+
`git remote add origin <url>`
15+
16+
`git remote set-url origin <url>`
17+
18+
`git remote -v`
19+
20+
`git push origin master`
21+
22+
`git push -f origin master`
23+
24+
`git clone <url>`
25+
26+
`git pull origin <branch>`
27+
28+
`git status`
29+
30+
`git log`
31+
32+
`git branch`
33+
34+
`git branch <name>`
35+
36+
`git checkout <name>`
37+
38+
`git checkout -b <name>`
39+
40+
`git merge <branch>`
41+
42+
`git diff --stat`
43+
44+
`git rebase -i HEAD~4`
45+
46+
`git checkout c3d88eaa1aa4e4d5f`
47+
48+
`git stash`

0 commit comments

Comments
 (0)