Possible Duplicate:
git push to multiple repositories simultaneously
I want to let other people read my rails app from github.
So I usually push repos to github and heroku. Now I want to do both with one app and keep them synced. How do you do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can start by pushing to multiple repos at one (configured with
git remote, likegit remote set-url).That would generate a config like:
then:
If your repos are writable only for you, you don’t need to fetch from all of them in one operation. You only need to keep them update in one push.