Changes between Version 6 and Version 7 of WorkingConventions/GitSPJ


Ignore:
Timestamp:
May 2, 2011 9:01:10 AM (4 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingConventions/GitSPJ

    v6 v7  
    5353git checkout -b <new-branch-name>
    5454}}}
    55 This creates the new branch and switches to it, but '''does not change your working files'''.  Now you can safely commit on the branch. [http://stackoverflow.com/questions/2569459/git-create-a-branch-from-unstagged-uncommited-changes-on-master Stackoverflow link]
     55This creates the new branch and switches to it, but '''does not change your working files'''.  Now you can safely commit on the branch [http://stackoverflow.com/questions/2569459/git-create-a-branch-from-unstagged-uncommited-changes-on-master Stackoverflow link].  Then to push to the master repo:
     56{{{
     57git push origin <new-branch-name>
     58}}}
     59That will create `<new-branch-name>` in the master repo if it does not already exist.
    5660
    5761=== Work on a branch gotten from the main repo ===