Closed hroncok closed 7 years ago
Or we can make it configurable.
I'd opt for keeping single commit, or defaulting to that.
I've decided making it configurable would add an unnecessary complexity for almost no reason. Went with the documented behavior.
Deleting the local branch is not enough. ghp-import checks origin/gh-pages and rebases on top of that https://github.com/davisp/ghp-import/blob/3fd376d66d1626da00c623193ff04169afb9c97f/ghp_import.py#L69
It would need to do something like rm .git/refs/remotes/origin/gh-pages
if origin
is the right remote.
On Travis:
Locally:
We can do one of the following: