Git命令_总结

整理:

本地仓库(commit)/缓存区(add)/工作区
远程仓库
git init

git clone

git fetch

git merge

git pull

git push

git add

git commit

git checkout

git branch

git status

git log //查看的是commit的历史

git remote -v //查看远程url的情况

git rebase

git diff

git reset

原文地址:https://www.cnblogs.com/grooovvve/p/9700437.html