Name

bif-sync - exchange changes with hubs

Version

0.1.5_8 (yyyy-mm-dd)

Synopsis

bif sync [ITEM] [OPTIONS...]

Description

The bif sync command connects to all remote repositories registered as hubs in the local repository and exchanges changes.

The scope of the sync can be limited by specifying an ITEM. For example, given the following structure:

TYPE        PATH
org         myorg
hub         myorg/hub1 (default)
hub         myorg/hub2
project     myorg/project1
project     myorg/project1/project2

The following actions occur depending on the value of PATH:

myorg
Connects first to myorg/hub1 as it is the default and syncs all local projects. If that fails it may try to connect to myorg/hub2.
myorg/hub1
Same action as for "myorg".
myorg/hub2
Same action as for "myorg".
myorg/project1
Connect first to myorg/hub1 and syncs project1 and project2 (assuming they are both local).
myorg/project2
Connect first to myorg/hub1 and syncs project2 only (assuming it is local).

Arguments & Options

--hub, -H HUB
Limit the hubs to sync with. This option can be used multiple times.
--path, -p PATH
Limit the projects to sync. This option can be used multiple times.

See Also

bif(1)

Author

Mark Lawrence <nomad@null.net>

Copyright And License

Copyright 2013-2017 Mark Lawrence <nomad@null.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.