Difference between revisions of "Git revert"

From wikieduonline
Jump to navigation Jump to search
 
(6 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 revert --help]]
 +
 +
== Errors ==
 
  [[git]] revert --no-commit 0766c053..HEAD
 
  [[git]] revert --no-commit 0766c053..HEAD
  [[git commit]]
+
  error: commit XXXXX is a [[merge]] but no -m option was give
  
 
== Related ==
 
== Related ==
 
* <code>[[git reset]]</code>
 
* <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: