https://github.com/knuckles-team/repository-manager
Manage your git repositories with Python
https://github.com/knuckles-team/repository-manager
git git-cli python repository repository-management
Last synced: 8 months ago
JSON representation
Manage your git repositories with Python
- Host: GitHub
- URL: https://github.com/knuckles-team/repository-manager
- Owner: Knuckles-Team
- License: mit
- Created: 2022-08-15T22:09:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T04:42:41.000Z (over 1 year ago)
- Last Synced: 2025-04-23T19:52:15.376Z (9 months ago)
- Topics: git, git-cli, python, repository, repository-management
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repository Manager

















*Version: 0.8.4*
Manage your Git projects
Run all Git supported tasks using Git Actions command
This repository is actively maintained - Contributions are welcome!
Usage:
| Short Flag | Long Flag | Description |
|------------|------------------|----------------------------------------|
| -h | --help | See Usage |
| -b | --default-branch | Checkout default branch |
| -c | --clone | Clone projects specified |
| -d | --directory | Directory to clone/pull projects |
| -f | --file | File with repository links |
| -p | --pull | Pull projects in parent directory |
| -r | --repositories | Comma separated Git URLs |
| -t | --threads | Number of parallel threads - Default 4 |
Example:
Run through CLI
```bash
repository-manager \
--clone \
--pull \
--directory '/home/user/Downloads' \
--file '/home/user/Downloads/repositories.txt' \
--repositories 'https://github.com/Knucklessg1/media-downloader,https://github.com/Knucklessg1/genius-bot' \
--threads 8
```
Use directly in Python
```python
from repository_manager import Git
gitlab = Git()
gitlab.set_repository_directory("")
gitlab.set_threads(threads=8)
gitlab.set_git_projects("")
gitlab.set_default_branch(set_to_default_branch=True)
gitlab.clone_projects_in_parallel()
gitlab.pull_projects_in_parallel()
```
Installation Instructions:
Install Python Package
```bash
python -m pip install repository-manager
```
## Geniusbot Application
Use with a GUI through Geniusbot
Visit our [GitHub](https://github.com/Knuckles-Team/geniusbot) for more information
Installation Instructions with Geniusbot:
Install Python Package
```bash
python -m pip install geniusbot
```
Repository Owners:


