Difference between revisions of "Git reset"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
  (no output)
 
  (no output)
  
  git reset --hard HEAD
+
  [[git reset --hard]] HEAD
 
+
[[git reset --hard master]]
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[git add]]</code>
 
* <code>[[git add]]</code>
 
* <code>[[git branch -r]]</code>
 
* <code>[[git branch -r]]</code>
 +
[[git revert]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:08, 7 November 2024

Advertising: