I am an absolute newbee to bitbucket and git. I am working in a small company with 5 employees. We are storing multiple git repositories in a local server( in /home/user/git/project1, project2... projectn) for each project. I want to back it up in bitbucket. How can I push all project repos in a single command?
Asked
Active
Viewed 158 times
0
-
see [Managing many git repositories](http://stackoverflow.com/q/816619) – CharlesB Jul 17 '13 at 12:51
1 Answers
2
- write a shell script that runs
git push
multiple times, once for each repo - make the shell script executable and make sure it's in your path
- the shell script is your single command

Useless
- 64,155
- 6
- 88
- 132