eabay/bitbucket-repo-sync

Bitbucket 仓库同步应用程序

安装: 13

依赖: 0

建议: 0

安全: 0

类型:应用程序

dev-master 2016-07-01 14:46 UTC

This package is not auto-updated.

Last update: 2024-09-21 02:15:09 UTC


README

Bitbucket Repo Sync 是一个小的 Symfony Console 应用程序,用于保持所有 Bitbucket Git 仓库同步。它使用了 Bitbucket API

安装和使用

基本上,您提供您的 Bitbucket 凭据,它将克隆所有您的 Git 仓库。

git clone git@bitbucket.org:eabay/bitbucket-repo-sync.git
cd bitbucket-repo-sync
// see https://getcomposer.org.cn/download/ to install composer
php composer.phar install
php console.php bitbucket:sync username password

您可以选择仓库的路径

php console.php bitbucket:sync username password -d /some/where

要获取命令的帮助信息

php console.php help bitbucket:sync

请注意,仓库将通过 HTTPS 协议克隆,包括您的用户名和密码。我的意思是,仓库将具有类似于 https://username:password@bitbucket.org/… 的 URIs。如果您认为这是一个安全问题,请不要使用该应用程序!

请使用 Bitbucket 提交问题。