git init
git clone
git add
⽤法:git add *
git commit
⽤法:git commit -a
git diff
⽤法:git diff –staged
⽤法:git diff [first branch] [second branch] git reset
⽤法:git reset [commit]
⽤法:git reset –hard [commit]
git status
git rm
git log
⽤法:git log –follow[file]
git show
⽤法:git show [commit]
git tag
⽤法:git tag [commitID]
git branch
⽤法:git branch [branch name]
⽤法:git branch -d [branch name]
git checkout
⽤法:git checkout -b [branch name]
git merge
git remote
git常用指令git push
⽤法:git push [variable name] [branch]
⽤法:git push –all [variable name]
⽤法:git push [variable name] :[branch name] git pull

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。