Difference between revisions of "Git revert"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
 +
[[git]] revert --no-commit 0766c053..HEAD  <ref>https://stackoverflow.com/a/21718540</ref>
 +
[[git commit]]
  
  [[git reset]]
+
  [[git revert --help]]
 +
 
 +
== Errors ==
 +
[[git]] revert --no-commit 0766c053..HEAD
 +
error: commit XXXXX is a [[merge]] but no -m option was give
 +
 
 +
== Related ==
 +
* <code>[[git reset]]</code>
 +
[[git cat-file]]
  
 
== See also ==
 
== See also ==
 +
* {{git revert}}
 
* {{git}}
 
* {{git}}
  
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 10:42, 18 August 2022

Advertising: