Package: gitkit
gitkitA tool for analyzing and synchronizing git repositories with githubInstallationpython3 -m pip install gitkit --upgradeTest versionpython3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps gitkit --upgradeUsagegitkit [OPTIONS] COMMAND [ARGS]...Options:OptionTypDescription-t, --target-dirTEXTThe local target/source path-u, --userTEXTThe github username-p, --passwordTEXTThe github password-l, --listPrint results. Does not execute any command.--helpShow this message and exit.Commands:CommandDescriptioncloneClone repositoriescommitCommit repositoriesfindSearch local repositoriespullPull repositoriespushPush repositoriesfind Options:OptionDescription-p, --private / -np, --no-private-p = Private only, -np = Public only - Default with private and public.-f, --forks / -nf, --no-forks-f = Forks only, -nf = Without forks - Default with forks.-o, --owner / -no, --no-owner-o = Owned only, -no = Not owned only - Default owned and not owned.-d, --dirty / -nd, --no-dirty-d = Dirty only, -nd = Clean only - Default clean and dirty.-a, --ahead / -na, --no-ahead-a = local branch is ahead of remote, -nd = local branch is not ahead of remote. Default both.-b, --behind / -nb, --no-behind-b = local branch is behind remote, -nd = local branch is not behind remote. Default both.-r, --remote-r = Remote github repositories only. Default all.--helpSamples:DescriptionCommandHelpgitkit --helpClone all repositories.gitkit -u <USERNAME> -p <PASSWORD> -t /tmp/src/github clonePull all repositories.gitkit -u <USERNAME> -p <PASSWORD> -t /tmp/src/github pullPush all repositories.gitkit -u <USERNAME> -p <PASSWORD> -t /tmp/src/github pushCommit all repositories.gitkit -u <USERNAME> -p <PASSWORD> -t /tmp/src/github commitFind all repositoriesgitkit -t /tmp/src/github findFind all repositoriescd /your/path/ && gitkit findFind dirty repositoriesgitkit -t /tmp/src/github find -dFind private repositoriesgitkit -t /tmp/src/github find -pFind private dirty repositoriesgitkit -t /tmp/src/github find -pdFind public repositoriesgitkit -t /tmp/src/github find -npFind forked repositoriesgitkit -t /tmp/src/github find -fFind owned repositoriesgitkit -t /tmp/src/github find -oFind ahead remote repositoriesgitkit -t /tmp/src/github find -aFind behind remote repositoriesgitkit -t /tmp/src/github find -aFind not owned repositoriesgitkit -u dotupNET -t /tmp/src/github/ -l find -noFind remote, not cloned, repositories onlygitkit -l find -rPush your own repositoriesgitkit -u <USERNAME> -p <PASSWORD> find -a -o pushStage, Commit and Push your own dirty repositoriesgitkit -u <USERNAME> -p <PASSWORD> find -o -d push -acPull your forked repositoriesgitkit -u <USERNAME> -p <PASSWORD> find -b -o -f pullEnvironment variable for user, password and target availableuser=XYZpassword=XYZtarget-dir=/tmp/srcGrouped clone:You can group your sources into different folders.CommandDescription--group forksRpositories will be cloned into subfolder "forks"--group ownerRpositories will be cloned into subfolder, named with the github login namemkdir-p/tmp/srccd/tmp/src
gitkit-udotupNET-pTopSecretclone--groupforks--groupownerThe target folders will be:For your own repositories:/tmp/src/dotupNETFor your own forked repositories:/tmp/src/dotupNET/forksFor repositories you don't own:/tmp/src/RepositoryOwnerFor forked repositories you don't own:/tmp/src/RepositoryOwner/forkshttps://github.com/dotupNET/gitkit