frej / fast-export

A mercurial to git converter using git-fast-import
http://repo.or.cz/w/fast-export.git
808 stars 255 forks source link

Document --ignore-unnamed-heads option #251

Closed gillius closed 3 years ago

gillius commented 3 years ago

It seems that hg-fast-export can't deal with unnamed heads, even if they are close commits (hg doesn't see these as heads normally). In my repo, I have a handful of abandoned heads that are closed, but hg-fast-export gives errors. On these it is very appropriate to use the --ignore-unnamed-heads option.

gillius commented 3 years ago

The git system I use does squashing at the time of completing PRs. I've not done squash with GH PR before. So I squashed my commits and had to "force" push to replace my patch-1 branch. So the old commits are "gone". Hopefully that's what you wanted.

frej commented 3 years ago

The git system I use does squashing at the time of completing PRs. I've not done squash with GH PR before. So I squashed my commits and had to "force" push to replace my patch-1 branch. So the old commits are "gone". Hopefully that's what you wanted.

I don't think Github can do the squash, so what you did is exactly what I wanted.