Created
July 12, 2018 05:06
-
-
Save beardlessman/0951c3e016afc47733ee424a5bfb2037 to your computer and use it in GitHub Desktop.
[Git] Переименование ветки (локально и удаленно)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -m old_branch new_branch – переименовать локальную ветку | |
git push origin :old_branch – удалить старую ветку | |
git push --set-upstream origin new_branch – выгрузить новую ветку и "закрепить" ее за локальной веткой |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment