1

I have a drupal sandbox project up and running which is being updated by me frquently. But the same is not showing up when I log into my Github account on github.com . Is there a way to integrate both so that whatever changes I push to my drupal sandbox and the commit history also appear on github.com ?

geeky_bat
  • 318
  • 1
  • 3
  • 15

1 Answers1

3

Following "pull/push from multiple remote locations", you could set up your local repo in order to push to both upstream repos in one command.

[remote "upstreams"]
    url = git@github.com:user/repo.git
    url = your/dropal/sandbox.git
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 1
    ok so this is the way forward from now onwards, and is there to make my sandhbox past commit history, the multiple revisions that I've done to my code all be available on github too ? – geeky_bat Aug 09 '12 at 13:09
  • 1
    @geeky_bat the next push should push everything to github. If not, define another remote with just github, in order to push there. In both cases, a push to github will push whatever isn't yet on the GitHub repo. – VonC Aug 09 '12 at 13:18