Cambiar el nombre de la sucursal local

Ejemplos de código

16
0

cambiar el nombre de la sucursal local

git branch -m <newname>
13
0

git renombrar rama local

git branch -m <oldname> <newname>
10
0

editar nombre de rama git

$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name
2
0

git cambiar nombre de rama

git branch –m old-name new-name
0
0

git renombrar una rama local

git branch -m <new-branch-name>
0
0

cómo cambiar el nombre de una sucursal

Rename a local and remote branch in git
Rename your local branch. If you are on the branch you want to rename: git branch -m new-name. ...
Delete the old-name remote branch and push the new-name local branch. git push origin :old-name new-name.
Reset the upstream branch for the new-name local branch. Switch to the branch and then: git push origin -u new-name.

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................