User Tools

Site Tools


git_add_rm

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_add_rm [2019/03/13 14:14]
rpjday [Recovering a deleted file]
git_add_rm [2019/03/18 12:29]
rpjday [-u, --update option]
Line 152: Line 152:
 ==== "​-u",​ "​--update"​ option ==== ==== "​-u",​ "​--update"​ option ====
  
-Stage all changes and deletions of existing files, but not addition of new files:+Stage all changes and deletions of existing files, ​//but not addition of new files//:
  
 <​code>​ <​code>​
Line 309: Line 309:
     * Distributed Version Control Systems     * Distributed Version Control Systems
 ... snip ... ... snip ...
 +</​code>​
 +
 +You can also:
 +
 +<​code>​
 +$ git rev-list -n 1 HEAD -- OUTLINE.txt
 +b86814bf758645cf1d0ea8a6cbfd1486d257f4dc
 +$
 </​code>​ </​code>​
git_add_rm.txt ยท Last modified: 2019/03/18 12:29 by rpjday