git init
git clone XXX
git pull
git pull --rebase origin master
git fetch
git add .
git commit -m 'comments here'
git push
git branch -r/-a
git checkout master/branch
git checkout -b test
git checkout -d test
git merge master
git merge tool
git stash
git stash list
git stash pop
git blame someFile
git status
git log
git diff
git diff --cache
git diff HEAD
git reset --hard HEAD
echo $HOME
export $HOME=/c/gitconfig
克隆一个全新的项目,完成新功能而且提交:git
git clone XXX
git checkout -b test
modify some files
git add .
git commit -m ''
git checkout master
git pull
git checkout test
git meger master
git push origin 分支名
目前正在test分支上面开发某个功能,可是没有完成。忽然一个紧急的bug须要处理缓存
git工做流工具