git
コマンドのエイリアス git config --global alias.co checkout git config --global alias.ci commit git config --global alias.st status git config --global alias.br branch
備忘録的に…。まだpushしていないcommitを見る(masterブランチの場合) git log origin/master..master commit間のファイル差分を見る git diff --stat commit commit 複数のcommitをくっつける(squash)する、or 消す # squashしたいcommitが20個以内にある…
gitでrebaseコマンドをかけたらいきなりこんなメッセージが出てきた。 error: corrupt loose object '5fc702f546da166114e663a81170ae9a6507dbc5' fatal: loose object 5fc702f546da166114e663a81170ae9a6507dbc5 (stored in .git/objects/5f/c702f546da1661…
gitでcommitをしたが、何やら消したファイルの反映ができていない。 ということで削除したファイルを追加して直前のコミットをやり直した。 メモメモ… git add -u git commit --amend