Git Command

git merge branchName //merger with current branch

git branch -d branchName //del local branch

git push origin --delete branchName  //del remote branch

git tag "v1.0.0.1"  //add tag, tag can't contains space, needn't commit or push

git tag -a "v1.2" -m "some comment"

rebase

https://git-scm.com/book/zh/v1/Git-%E5%88%86%E6%94%AF-%E5%88%86%E6%94%AF%E7%9A%84%E8%A1%8D%E5%90%88

相关推荐