0
hereの指示に従って、filter-branchを使用して私のリポジトリからバイナリファイルを削除しました。記事の最後にはfilter-branchを使用した後に偶発的なマージを修正しました
Make sure your collab uses rebase and not merge,
otherwise he will just reintroduce the file and the entire tainted history…
を言う残念ながら、私はレポにマージ使用誰かの後に、そのビットをお読みください。私の履歴には多くの重複したコミットがあります:
commit 16c3838a7338c639421b9f244b572b6e23c0c3f7
Author: foo bar <[email protected]>
Date: Mon Nov 7 13:20:28 2011 -0800
update todo
commit 213ae8da0af8e92afa9808c3b16cecf0e1cc7a0c
Author: foo bar <[email protected]>
Date: Fri Nov 4 21:14:08 2011 -0700
update todo
これらの重複したコミットには、バイナリファイルが導入されています。重複したコミットとバイナリファイルを取り除くにはどうしたらいいですか?
何も役に立たず、まだガベージコレクションを実行していない場合、あなたは 'git reflog'を使って行ったことをいつでも元に戻すことができます。 – poke