Git
http://qiita.com/ironsand/items/6c301fef730d53f35bc3
http://d.hatena.ne.jp/naokibtn/20130217/1361120970
git add -u <削除したファイル> http://nekova.hatenablog.com/entry/2013/02/20/013909
http://design1.chu.jp/setucocms-pjt/?p=580
git stash git rebase -i [HASH] 編集したいコミットをpick -> editにする 編集したら git commit --amend git rebase --continue
fatal: The remote end hung up unexpectedly fatal: index-pack failed リポジトリが大きい場合と少しずつcloneしないといけない git clone --depth 10 [url] git fetch --unshallow ちなみにdepth10でクローンしてからもう一回depth10でfetchしようとした…
自分のローカルでのみ無視したい場合はホーム下に.gitignoreと.gitconfigをつくる .gitignore *.pyc *~ .gitconfig [core] excludesfile = ~/.gitignore 既に追跡対象にいている場合は git rm --cached で追跡対象から外してcommitする http://qiita.com/y_m…
git rebase --abort git rebase -i の途中でよく分からなくなってrebaseの前に戻りたいとき
git show [Hash]:[File Path] [Hash] -> コミットのハッシュ[File Path] -> クローンしてあるディレクトリからの相対パス
git log -p -2 -p -> 各コミットのdiffを表示 -2 -> 直近の2エントリだけを表示