Skip to content

syncrepo synchronizes all the repositories in a given path

License

Notifications You must be signed in to change notification settings

AbhinavAchha/syncrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Syncrepo

syncrepo synchronizes all the repositories in a given path

Given a path it runs git pull --all command in all the repositories. It uses sync.WaitGroup to runs these commands parallely.

Installation

go install github.com/AbhinavAchha/syncrepo@latest

Usage

Pull All Repositories in given Path

syncrepo --path path/to/the/directory

Get List of Repositories and Save it to given File

syncrepo --list path --file repolist.txt

Export List of Repositories (JSON Only)

syncrepo --export --path path --file repos.json

Import List if Repositories (JSON Only)

syncrepo --import --path path/to/import --file repos.json

Currently only JSON files importing and exporting are supported

About

syncrepo synchronizes all the repositories in a given path

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages