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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
cloud:cs_github_workflow [2013/06/28 13:11]
joannah [Start Coding!]
cloud:cs_github_workflow [2013/07/31 10:42]
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
 +  * To rename your branch: <code bash>
 +# Rename your local branch
 +$ git branch -m old_branch_name new_brach_name
 +# Remove the branch name you want to change on GitHub
 +$ git push origin :​old_branch_name
 +# Push the new local branch name to GitHub
 +$ git push origin new_brach_name
 </​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