pushing same project to two different Git repositories

Viewed 1115

My project is required to be placed at two different git repositories as per client's requirement. Is there any way using which I can do this through eclipse or command line? Thanks.

1 Answers

You can add anothr remote to your actual one. So you would have an "origin" which is conventionally the name you use and an originClient

git remote add originClient git@github.com:User/UserRepo.git

git push -u originClient yourBranchName

Related