0





5

Advertisement

I am considering adding the Github integration to an existing Heroku app and I am wondering if I move the commits from the heroku branch to master branch, will they appear in my contribution history on my Github profile?

Question author Sean-kelley | Source

Advertisement


0


Add a new remote say, origin point to GitHub. Then push all local/master commits to 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    
Answer author Sajib-khan