Git

Git reset local branch & rem

2018-01-30  本文已影响51人  JaedenKil
# If you're currently on the branch you wish to rename:
git branch -m new_branch_name
# If you're not on the branch you wish to rename:
git branch -m old_branch_name new_branch_name
git remote -v
git push remote_repo_name --delete old_branch_name
git push --set-upstream remote_repo_name new_branch_name
上一篇 下一篇

猜你喜欢

热点阅读