Hi,ghostsf

文艺IT男,全栈菜鸟

Do what i love, and just do it !
  menu
192 文章
0 浏览
2 当前访客
ღゝ◡╹)ノ❤️

git各案例命令记录

更改本地和远程分支的名称

git branch -m old_branch new_branch # Rename branch locally

git push origin :old_branch # Delete the old branch

git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote

打增量更新包

git diff {old commit version} {new commit version} --name-only | xargs tar -czvf update.tar.gz


标题:git各案例命令记录
作者:ghostsf
地址:https://ghostsf.com/articles/2020/03/25/1585131618000.html