how to detach alternates after git clone --reference?

Viewed 7153

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

2 Answers
Related