I\'m trying to set up a darcs mirror of a git repository. I have something that works OK, but there\'s a significant problem: if I push a whole bunch of commits to the git
Use this to retrieve hashes from a branch:
git log --pretty=format:"%h" HEAD..origin/master
Then use git cherry-pick -n to apply each one.
git cherry-pick -n
Another option, as cited by @xenoterracide, is using githooks.