print 'Hello World!';

hogehoge備忘録

Gitコマンド一覧

$ git init
ディレクトリにリポジトリを作成

$ git commit -m “[comment]”
コミットメッセージを同時に指定

$ git status
前回のコミットと比較してどのファイルが変更されたかを表示

$ git log
コミットログを参照する

$ git checkout [branch]
ブランチを変更する

$ git show
最新のコミット内容を表示

$ git clone [repository PATH] [new repository PATH]
リポジトリをコピーする

$ git push [remote repository PATH] [branch]
リモートリポジトリに変更を書き込む

$ git pull [remote repository PATH] [branch]
リモートリポジトリの変更を取り込む

$ git remote
リモートリポジトリの一覧表示

$ git fetch [remote repository]
リモートリポジトリの最新情報を追加する

$ git branch &[new branch]
現在のブランチの確認.&新しいブランチを作成する

#参考サイト

基本的なGitコマンドまとめ - Qiita