Cjku/git: Difference between revisions

No change in size ,  29 October 2014
Line 328: Line 328:
   git reset [-q] <tree-ish> [--] <paths>
   git reset [-q] <tree-ish> [--] <paths>


Using it while intending to recover files in working directory form a specific revision. Index or branch ref have nothing to do with this usage.  
Using it while intending to recover files in working directory from a specific revision. Index or branch ref have nothing to do with this usage.  
   <span style="color:blue">$ echo "Jerry" > a.txt</span>
   <span style="color:blue">$ echo "Jerry" > a.txt</span>
   <span style="color:blue">$ git add a.txt</span>
   <span style="color:blue">$ git add a.txt</span>
Confirmed users
1,643

edits