Changes between Version 2 and Version 3 of WorkingConventions/GitSPJ


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

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingConventions/GitSPJ

    v2 v3  
    3939 
    4040-------------- 
     41== Doing useful things == 
     42 
     43You are sitting on a branch (say master), and do some edits. Now you decide it wasn't as simple as you thought so you want to create a branch to keep your edits safe while you do something else.  
     44{{{ 
     45git checkout -b <new-branch-name> 
     46}}} 
     47This creates the new branch and switches to it, but '''does not change your working files'''.  Now you can safely commit on the branch.  
     48 
     49--------------- 
     50 
    4151== `git gui` on Windows == 
    4252