Created
July 10, 2014 08:18
-
-
Save m-hirata/9ef9b87e94aa00cebbbb to your computer and use it in GitHub Desktop.
空コミットの方法
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 init | |
git commit --allow-empty | |
L insert commit message | |
first commit //iでもaでも押してメッセージを入力 | |
# Please enter the commit message for your changes. Lines starting | |
# with '#' will be ignored, and an empty message aborts the commit. | |
# On branch master | |
# | |
# Initial commit | |
//メッセージを入力したらESC → :wqと入力 | |
git remote add origin { git-URL } | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment