CoEPP RC
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cloud:cs_github_workflow [2013/06/28 13:11]
joannah [Start Coding!]
cloud:cs_github_workflow [2013/07/31 10:43]
joannah [Start Coding!]
Line 54: Line 54:
 # Push your new local branch to remote Git repository # Push your new local branch to remote Git repository
 $ git push -u origin newbranchname $ git push -u origin newbranchname
 +</​code>​
 +  * To rename your branch: <code bash>
 +# Rename your local branch
 +$ git branch -m oldbranchname newbranchname
 +# Remove the branch name you want to change on GitHub
 +$ git push origin :​oldbranchname
 +# Push the new local branch name to GitHub
 +$ git push origin newbranchname
 </​code>​ </​code>​
   ​   ​
cloud/cs_github_workflow.txt · Last modified: 2013/07/31 10:43 by joannah
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki