我在我的本地仓库上执行了histedit fold
,之后我尝试将更改推送到Bitbucket,但推送失败并显示消息:
remote has heads on branch 'default' that are not known locally
abort: push creates new remote head
(pull and merge or see 'hg help push' for details about pushing new heads)
如何在不遇到此问题的情况下在远程仓库上执行fold
?