- git help <comment>
- git config –global user.name “John EveryThing”
- git config –global user.email xx@xx.com
- local
- system
- global
- git init
- git status
- git add
- git add .
- .git-ignore文件
- git rm –cached
- git rm
- git rm $(git ls-files –deleted)
- git commit -m ‘something’
- git commit -a -m ‘something’
- git log
- git diff
- git diff -cached
- git checkout
- git reset HEAD < file >
- git checkout HEAD –< file >
- 总结
- git branch <>
- git branch -d <>
- git branch -v
- git checkout -b < branchName >
- git reset
- git reset –hard
- soft
- mixed
- hard
- git reflog
- git stash
- git merge
- -
GIT
最新推荐文章于 2024-10-07 08:05:06 发布