https://github.com/devdanzin/repoupdate
Tool for syncing GitHub repositories and pulling from them.
https://github.com/devdanzin/repoupdate
Last synced: about 2 months ago
JSON representation
Tool for syncing GitHub repositories and pulling from them.
- Host: GitHub
- URL: https://github.com/devdanzin/repoupdate
- Owner: devdanzin
- License: gpl-3.0
- Created: 2024-10-17T23:01:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T23:18:32.000Z (over 1 year ago)
- Last Synced: 2026-01-01T07:22:06.830Z (6 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# repoupdate
This is a little tool I use to sync some of my repositories on GitHub and git pull them
to their respective local clones.
Usage (well, this is more of a goal than what we have right now):
```
## Syncing GitHub default branches in remote repositories:
# Sync all GitHub repositories matching subdirectories of current directory.
repoupdate sync --all
# Sync all GitHub repositories matching subdirectories of given path.
repoupdate sync --all ~/projects
# Sync specific GitHub repositories matching subdirectories of current directory.
repoupdate sync cpython pypy coveragepy
# Sync specific GitHub repositories matching given paths.
repoupdate sync ~/projects/cpython ../PycharmProjects/coveragepy
## Pulling from updated GitHub repositories:
# Pull from all repositories that are subdirectories of current directory.
repoupdate pull --all
# Pull from all repositories that are subdirectories of given path.
repoupdate pull --all ~/projects
# Pull from specific repositories that are subdirectories of current directory.
repoupdate pull cpython pypy coveragepy
# Pull from specific repositories in given paths.
repoupdate pull ~/projects/cpython ../PycharmProjects/coveragepy
## Using paths stored in a file:
repoupdate sync --input paths.txt
repoupdate pull --input paths.txt
```