User Tools

Site Tools


tutorials:git_quick_reference

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tutorials:git_quick_reference [2019/09/19 19:59]
deryn.crockett
tutorials:git_quick_reference [2020/01/03 18:29] (current)
marcus.williams [Stash]
Line 52: Line 52:
  
 [[https://​stackoverflow.com/​questions/​1260748/​how-do-i-remove-a-submodule|How to remove a submodule]] [[https://​stackoverflow.com/​questions/​1260748/​how-do-i-remove-a-submodule|How to remove a submodule]]
 +
 +===== Checkout =====
 +
 +Reset file foo to HEAD. Stackoverflow [[https://​stackoverflow.com/​questions/​215718/​how-can-i-reset-or-revert-a-file-to-a-specific-revision|link1]]
 +<​code>​
 +git checkout -- foo
 +</​code>​
  
tutorials/git_quick_reference.txt ยท Last modified: 2020/01/03 18:29 by marcus.williams