Skip to content

Latest commit

 

History

History
48 lines (25 loc) · 621 Bytes

Git most used commands.md

File metadata and controls

48 lines (25 loc) · 621 Bytes

Самые часто используемые команды git

git init

git add --all

git add . | git add my_script.py

git commit -m "<message>"

git commit -am "<message>" git commit --amend

git remote add origin <url>

git remote set-url origin <url>

git remote -v

git push origin master

git push -f origin master

git clone <url>

git pull origin <branch>

git status

git log

git branch

git branch <name>

git checkout <name>

git checkout -b <name>

git merge <branch>

git diff --stat

git rebase -i HEAD~4

git checkout c3d88eaa1aa4e4d5f

git stash