git コマンド
まず、以下の4つの領域
Remote:サーバー上のrepository
Repository:ローカル上のrepository
Index(stage):一時保管領域
workspace:ワークスペース
現在gitの設定
git config --list
ワークスペースからstageへ
git add <file>
git add . // 全ディレクトリ
stageからrepository
git commit -m "コミット理由など"
repositoryからremote
git push
サーバーと同期する
git pull
repositoryからstageへ
git reset <file>
stageからworkspaceへ
git checkout <file>