Home ›
If you see every git log entry twiceIf you see every git log entry twice
Submitted by Benjamin Melançon on August 12, 2011 - 10:57am
Searched words:
git history duplicate all entries
If you have an unexpectedly long merge time and you see every commit in your git log showing up two times, you or someone else probably changed the history of the repository (such as to remove a big binary file). This changes the commit hash of every commit there is, so when merging these two (actually separate but just happen to have the same code) repositories you'll see them all twice in the history.
This is a warning sign that you should be putting your local copy of the repository aside and cloning a fresh one-- or having other people working on the project do that.
More like this
- See what's about to be committed when using git, and remove something before committing
- See what Subversion repository you are drawing from with vi .svn/entries
- Understanding past changes with diff and git log
- See your git commit history with files modified
- Undo a git add - remove files staged for a git commit


Comments
Post new comment