Difference between revisions of "Git reset"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
*https://git-scm.com/docs/git-reset
  
 
  git reset
 
  git reset
Line 7: Line 8:
 
  (no output)
 
  (no output)
  
 +
[[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: