I am using ubuntu and i have a folder gitrepos which has many clone of multiple git repos from github.
i want one script which can automatically do a git pull in all my repos.
say
[gitrepos]
[repo1]
[repo2]
[repo3]
...
i want a script to do a git pull from all repox
note the repo name are different.
any shell or py script available for this ?
There might be a case when you want 2 different Git repositories in a single directory. The most logical situation which comes to mind is keeping 2 repositories in your home-folder, one to perhaps keep your configuration files, and another to keep your custom scripts.
we can create multiple repositories for multiple projects, but you can not create for one repository for multiple projects , another way to maintain multiple projects into one repository is you can create the branches for individual project and store it .
Have a look at mr, a tool meant for exactly this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With