Skip to content

Instantly share code, notes, and snippets.

@tsutsui
Created January 6, 2013 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsutsui/4469283 to your computer and use it in GitHub Desktop.
Save tsutsui/4469283 to your computer and use it in GitHub Desktop.
githubでのレポジトリ作成およびコミットメモ
- 初回レポジトリ作成時
% 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