Last active
July 19, 2020 07:42
-
-
Save donchan922/43f625d890bc8eba716df96c7ed080e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 直前のコミットの内容を打ち消すためのコミットを行う | |
$ git revert HEAD | |
or | |
# 対象のコミットの内容を打ち消すためのコミットを行う | |
$ git revert コミット番号 | |
# 打ち消したコミットをプッシュする | |
$ git push origin HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment