Differences

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

Link to this comparison view

Both sides previous revision Previous revision
git:crib [2019/10/03 18:27]
admin
git:crib [2019/10/03 18:28] (current)
admin [Discard all local changes]
Line 16: Line 16:
 This is a specific form of ''​git reset %%--%%hard <​commit>''​ which resets your current branch to ''<​commit>''​. ''​origin/<​branch>''​ here refers to the HEAD commit of that branch at origin. This is a specific form of ''​git reset %%--%%hard <​commit>''​ which resets your current branch to ''<​commit>''​. ''​origin/<​branch>''​ here refers to the HEAD commit of that branch at origin.
  
-=== Revert ===+==== Revert ​====
  
   * ''​git revert ref_spec''​   * ''​git revert ref_spec''​