Created
January 6, 2013 18:32
-
-
Save tsutsui/4469283 to your computer and use it in GitHub Desktop.
githubでのレポジトリ作成およびコミットメモ
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 init | |
% git add files files files | |
% git commit | |
% git remote add origin git@github.com:username/repository-name.git | |
% git push -u origin master | |
- 初回以降のファイル変更時 | |
% vi modified-files | |
% git add modified-files | |
% git commit | |
% git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment