Created
September 12, 2009 12:21
-
-
Save sazameki/185812 to your computer and use it in GitHub Desktop.
Git commands
This file contains hidden or 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 reset --soft HEAD^ | |
# 直前のコミットに新しい変更点を追加する。 | |
git commit --amend | |
git push --force | |
# タグを取り除く | |
git tag -d TAGNAME | |
git push origin :refs/tags/TAGNAME | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment