https://github.com/adrianogil/gitrepowatcher
Python scripts to manage multiple git repos
https://github.com/adrianogil/gitrepowatcher
Last synced: 5 months ago
JSON representation
Python scripts to manage multiple git repos
- Host: GitHub
- URL: https://github.com/adrianogil/gitrepowatcher
- Owner: adrianogil
- License: mit
- Created: 2017-12-23T23:30:59.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-06-15T00:41:10.000Z (over 1 year ago)
- Last Synced: 2025-06-29T10:44:26.865Z (7 months ago)
- Language: Python
- Size: 131 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitRepoWatcher
Python scripts to manage multiple git repos
# Command line options
Save a repo with category 'default' and update command as 'git remote update'
```
repo-watcher -s
```
Save a repo with category 'default'
```
repo-watcher -s
```
Save a repo with a specific update command and a category
```
repo-watcher -s
```
Update all saved repos. Each registered repo will be updated using their corresponding update command.
```
repo-watcher --update []
```
```
repo-watcher -u []
```
Move HEAD to upstream in all saved repos.
```
repo-watcher -up []
```
Delete a saved repo.
```
repo-watcher -d
```
Delete current folder from saved repos.
```
repo-watcher -d
```
Delete all stored data
```
repo-watcher --delete-all
```
Verify changes in repos
```
repo-watcher -c
```
Get info about current path
```
repo-watcher -i
```
Get commit stats
```
repo-watcher --stats
```
Get commits from today
```
repo-watcher --today
```
## Planned features
- Refactoring code using DAO
- More than one category for repo
- Add a excluding category
- Add few features similar to [https://github.com/kamranahmedse/git-standup](git-standup)
## Installation
In case you have gil-install command, you just need to type:
```
cd
gil-install -i
```
Add the following lines to your bashrc:
```
export GIT_REPO_WATCHER_DIR=
source $GIT_REPO_WATCHER_DIR/src/bashrc.sh
```
## Contributing
Feel free to submit PRs. I will do my best to review and merge them if I consider them essential.
## Development status
This is a very alpha software. The code was written with no consideration of coding standards and architecture. A refactoring would do it good...