Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilaborie/git-sync
https://github.com/ilaborie/git-sync
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ilaborie/git-sync
- Owner: ilaborie
- Created: 2015-12-27T10:06:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-27T10:06:44.000Z (about 9 years ago)
- Last Synced: 2024-04-17T05:32:31.882Z (9 months ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
README
======git-sync [options] [remotes:origin] [branches:master,develop]
idea:
for each option
trace optionsfor each folder (-r for recursive)
if git repo
syncRepo
else
trace skip
endsyncRepo
for each remotes
c
fetch remote
for each branches
if checkFastForward
merge
else
warn
end
end
endoptions
verbose (--verbose, -v)
quiet (--quiet, -q)
recursive (--recursive, -r)
remotes
branches
default: origin
ex: branch1,branch2,branch* (glob)API:
path: stdlib ?
git: git2 (https://crates.io/crates/git2/)
log: log (https://crates.io/crates/log/)
options: getopts (https://crates.io/crates/getopts/)