2
我正在考虑将Github集成添加到现有的Heroku应用中,并且我想知道我是否在move the commits from the heroku branch to master branch之后,它们是否会出现在我的Github配置文件的贡献记录中?用Heroku Github集成将旧的提交添加到Github贡献记录
我正在考虑将Github集成添加到现有的Heroku应用中,并且我想知道我是否在move the commits from the heroku branch to master branch之后,它们是否会出现在我的Github配置文件的贡献记录中?用Heroku Github集成将旧的提交添加到Github贡献记录
添加一个new remote say, origin
指向GitHub
。然后将所有local/master
提交到origin/master
。
$ git remote add origin <github/repo/url> # add new remote `origin` point to GitHub repo
$ git checkout master
$ git push origin master # push all commits to github/master
感谢您的快速响应!我从heroku回购库中做到了这一点,所以我必须添加github remote,移除heroku remote,然后推送到github。 –
是的。更新了我的答案。 –