I’m using git clone --reference to reduce network traffic over a slow connection.
Now, git-clone‘s man page points out the dangers of using this and suggests git repack -a to break the link, which I’m doing immediately after the clone.
What I’d like to know is – after I’ve done the repack, is it then safe to just delete .git/objects/info/alternates or is there a proper git command to do this?
Thanks
OK, so I found out. The answer is yes, it is safe to delete alternates directly. And no, there is no git command to do this.
http://thread.gmane.org/gmane.comp.version-control.git/141161/focus=141199
I know it’s not the done thing to answer your own question, but we have to move on!