How to push new (rewritten) history to remote repository

后端 未结 1 791
予麋鹿
予麋鹿 2020-12-13 01:39

Basically, I have an open pull request that I want to fix and at the same time I want to make 1 commit that contains 2 features into 2 seperate commits.

Github repos

相关标签:
1条回答
  • 2020-12-13 02:42

    When faced with that problem, a force push has worked for me:

    git push --force origin fix
    
    0 讨论(0)
提交回复
热议问题