Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viesti/repos
Small script to perform some Git command to multiple repositories in a single directory
https://github.com/viesti/repos
Last synced: about 2 months ago
JSON representation
Small script to perform some Git command to multiple repositories in a single directory
- Host: GitHub
- URL: https://github.com/viesti/repos
- Owner: viesti
- Created: 2012-07-09T08:55:10.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-28T08:42:13.000Z (almost 11 years ago)
- Last Synced: 2023-03-23T02:06:24.749Z (almost 2 years ago)
- Language: Python
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
repos
=====Small script to perform some Git commands to multiple repositories in a single directory
Usage (symlink style):
1. Put "repos" into ~/bin
2. Create symlinksln -s repos status
ln -s repos fetch
ln -s repos pull
ln -s repos checkout
ln -s repos branch# "branch" lists out branches in all repos,
# Given a branch name as an argument, shows repos that have that branch3. Go to a directory with many Git repositories, and say ```status``` to get ```git status``` listing from all of the repositories
```repos``` accepts parameters too, if you don't want to use symlink style (like on Windows).
-s -> git status
-f -> git fetch
-p -> git pull
-c -> git checkout
-b [branch name]If you don't want some repositories to appear in the listing, filter them out by adding ```~/.repos/config``` file:
[main]
hidden=directory,names,separated,by,commas