$ frond ls # all repos
$ frond ls --changed
$ frond ls --stashed
$ frond ls --untracked
$ frond ls --unmerged
$ frond ls --ignored
$ frond ls --changed --unmerged # OR'd together
$ frond ls --branch=<glob/regexp>
$ frond status
$ frond status orgname
$ frond status path/to/repo orgnames*
$ frond do git pull --prune
$ # is the equivalent of
$ for dir in $(frond ls) ; do (cd "$dir" && git pull --prune); done
$ frond ls | parallel cd {} "&&" git pull --prune
TODO Is this something that belongs here? Or is this for another tool.
$ frond sync init https://github.com/bloomberg
$ frond sync init https://github.com/apache https://github.com/bloomberg https://github.com/containers
$ frond sync init https://github.com/{apache,bloomberg,containers} # bash-ism
TODO demonstrate this
- work on branch foo
- push foo and create PR
- later merge PR and delete branch
- working repo gets left on branch
- sync up by getting rid of the local and remote branch and switching back to default branch