【備忘用】Gitコマンド
リポジトリ管理
Gitリポジトリを作成する git init
リモートリポジトリをダウンロードする git clone
ブランチ
ブランチを作成する git checkout
変更されたファイルを確認する git status
コミットするステージファイル git add
ファイルをブランチにコミットする git commit
空コミット git commit --allow-empty git commit --allow-empty -m ""
リモート同期
リモートリポジトリからブランチをダウンロードする git pull
ブランチをリモートリポジトリにアップロードする git push