-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
git revertgit revert & 还原,撤销git revert & 还原,撤销
Description
git revert
还原,撤销
$ git revert -h
$ git revert
$ git revert -h
usage: git revert [<options>] <commit-ish>...
or: git revert <subcommand>
--quit end revert or cherry-pick sequence
--continue resume revert or cherry-pick sequence
--abort cancel revert or cherry-pick sequence
--skip skip current commit and continue
--cleanup <mode> how to strip spaces and #comments from message
-n, --no-commit don't automatically commit
-e, --edit edit the commit message
-s, --signoff add a Signed-off-by trailer
-m, --mainline <parent-number>
select mainline parent
--rerere-autoupdate update the index with reused conflict resolution if possible
--strategy <strategy>
merge strategy
-X, --strategy-option <option>
option for merge strategy
-S, --gpg-sign[=<key-id>]
GPG sign commit
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
git revertgit revert & 还原,撤销git revert & 还原,撤销