Git push: renaming branches

0 votes
173 views
added Aug 9, 2017 in Git by anonymous
edited Mar 29, 2019 by LC Marshal

Please use the same git push command for renaming branches, but you would add one more argument: the name of the new branch. e.g

git push  <REMOTENAME> <LOCALBRANCHNAME>:<REMOTEBRANCHNAME> 

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...