git branch -m old_branch new_branch – переименовать локальную ветку
git push origin :old_branch – удалить старую ветку
git push --set-upstream origin new_branch – выгрузить новую ветку и "закрепить" ее за локальной веткой
Last active
July 19, 2018 06:13
-
-
Save rtplv/773dddeff97b824e21fe707f0ddaff47 to your computer and use it in GitHub Desktop.
Переименование ветки Git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment