よく使う操作

コマンド 説明
git config --list 設定オプションを表示
git help ヘルプの表示
git status ステージの現状
git log 最近のログ
git last エイリアス。直近のログ
git add 変更をステージ(コンフリクト修正時のマークとしても使える)
git commit -m "Comment" 変更のコミット
git commit -a -m "Comment" 変更を一気にコミット
git branch ブランチの現状
git branch -v 各ブランチの直近のコミット
git branch --no-merged マージされていないブランチ
git branch hoge ブランチの作成
git checkout hoge hogeブランチへ切り替え
git checkout -b fuga fugaブランチを作成し切り替え
git log --oneline --decorate --graph --all マージの歴史
git marge hoge ブランチをマージ(通常はmasterでマージする)
git branch -d hoge ブランチの削除(通常はマージ後に不要になる為)

参考:https://git-scm.com/book/ja/v2