Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

Git push: renaming branches

0 votes
37 views
added Aug 9, 2017 in Git by Grimloxx Second Warrant Officer (3,370 points)
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> 

 

Please log in or register to response this reference.

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