How to use git to store two projects on github and bitbucket? I don't want to install another git client. I use the GUI-client GitHub, as well as the console window github.

  • When you get here you need this: ru.stackoverflow.com/a/568508/17609 - YuriySPb
  • Do you have different projects or do you want to keep the same repository in different places? - free_ze

1 answer 1

To store the same repository on different servers you do not need another Git client. Just add them to your remotes:

git remotes add github https://github.com.... git remotes add bitbucket https://bitbucket.org.... 

And when you do push / pull, double for each remote:

 git push github master; git push bitbucket master; 

And read it first.