且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将 Heroku git 存储库重置为其初始状态?

更新时间:2023-01-31 20:29:56

你可以嵌套 git 命令来执行强制推送.

You can nest git commands to execute force push.

对于您的情况,命令将是:

For your case the command will be:

git push heroku `git subtree split --prefix website master`:master --force