Difference between revisions of "Git revert"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/a/21718540
(→Errors) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [[git]] revert --no-commit 0766c053..HEAD | + | [[git]] revert --no-commit 0766c053..HEAD <ref>https://stackoverflow.com/a/21718540</ref> |
[[git commit]] | [[git commit]] | ||
+ | |||
+ | [[git revert --help]] | ||
== Errors == | == Errors == | ||
Line 10: | Line 12: | ||
== 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
git revert --no-commit 0766c053..HEAD [1] git commit
git revert --help
Errors[edit]
git revert --no-commit 0766c053..HEAD error: commit XXXXX is a merge but no -m option was give
Related[edit]
git cat-file
See also[edit]
git revert
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: