Changes between Version 3 and Version 4 of WorkingConventions/GitSPJ


Ignore:
Timestamp:
Apr 28, 2011 8:48:33 AM (3 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingConventions/GitSPJ

    v3 v4  
    55== Configuration == 
    66 
     7=== Push only the current branch === 
    78When you say `git push` (with no arguments), push only only patches on 
    89the ''current branch''.  If you have un-pushed commits on other branches, leave them be. 
     
    1112}}} 
    1213 
    13 ---------- 
     14 
     15=== Creating tracking branches === 
    1416 
    1517Suppose you create a new branch on your local machine. Now you want to push 
     
    4547git checkout -b <new-branch-name> 
    4648}}} 
    47 This creates the new branch and switches to it, but '''does not change your working files'''.  Now you can safely commit on the branch.  
     49This 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] 
    4850 
    4951---------------