多存储库管理工具
reps的Python项目详细描述
快速启动
$ pip install reps $ re
用法
检测存储库
re的用法集中在 当前工作目录。从某些存储库生成.reconfig。 您手头有…
$ re list [ansicolor:git] origin.url = https://github.com/numerodix/ansicolor [ejabberd:git] origin.url = https://github.com/processone/ejabberd.git [xmonad:git] origin.url = https://github.com/xmonad/xmonad > Run with -u to update .reconfig
使用-u重新运行,将检测到的配置写入.reconfig。
更新存储库
re最常见的用例只是同步您的repo。
$ re pull > Fetching ansicolor > Fetching ejabberd > Fetching xmonad > Merging ansicolor -> Setting up local tracking branch develop > Merging ejabberd -> Setting up local tracking branch 1.1.x -> Setting up local tracking branch 2.1.x -> Setting up local tracking branch obsolete_3alpha -> Setting up local tracking branch 2.0.x > Merging xmonad
re只是在后台运行git。获取和合并完成 分步进行。在合并过程中,git可能会提示您解析merge 冲突,因此通过首先获取所有回购协议,我们可以消除所有冲突 网络IO优先,避免交互交错 使用git。