这个答案解释了如何同时推动多个回购.
我的.git/config
包含:
[remote "all"]
url = git@github.com:commerce-sciences/scale-master.git
url = git@heroku.ron:scale-master.git
Run Code Online (Sandbox Code Playgroud)git push all
成功部署到heroku.
由于某些原因,似乎没有将更改推送到github.
Run Code Online (Sandbox Code Playgroud)> git push all Everything up-to-date Everything up-to-date > git status # On branch master # Your branch is ahead of 'origin/master' by 22 commits. # nothing to commit (working directory clean)
我错过了什么?