Usage#

Basic usage#

  1. Create initial configuration with:

$ gitp config init
  1. Execute all the commands you want. Eg.:

$ gitp issues create  # create same issue for all projects
$ gitp checkout -b new-branch  # checks out new branch new-branch in all projects
$ gitp poetry version minor  # bumps minor version of all projects that have pyproject.toml version

Note: by convention GitHub commands are always the resource name and action: eg. branches delete, issues create and prs merge (for pull requests). This avoid conflicts with batch git commands, as in gitp branch (executes git command) and gitp branches delete (execute operations using GitHub API).

Complete usage#

gitp#

Git Portfolio.

gitp [OPTIONS] COMMAND [ARGS]...

Options

--version#

Show the version and exit.

add#

Batch git add command.

gitp add [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

branch#

Batch git branch command.

gitp branch [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

branches#

Branches command group.

gitp branches [OPTIONS] COMMAND [ARGS]...
delete#

Batch deletion of branches on GitHub.

gitp branches delete [OPTIONS]

checkout#

Batch git checkout command.

gitp checkout [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

clone#

Batch git clone command on current folder. Does not accept aditional args.

gitp clone [OPTIONS]

commit#

Batch git commit command.

gitp commit [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

config#

Config command group.

gitp config [OPTIONS] COMMAND [ARGS]...
init#

Initialize gitp config.

gitp config init [OPTIONS]
repos#

Configure current working gitp repositories.

gitp config repos [OPTIONS]

diff#

Batch git diff command.

gitp diff [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

fetch#

Batch git fetch command.

gitp fetch [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

init#

Batch git init command.

gitp init [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

issues#

Issues command group.

gitp issues [OPTIONS] COMMAND [ARGS]...
close#

Batch close issues on GitHub.

gitp issues close [OPTIONS]
create#

Batch creation of issues on GitHub.

gitp issues create [OPTIONS]
reopen#

Batch reopen issues on GitHub.

gitp issues reopen [OPTIONS]

merge#

Batch git merge command.

gitp merge [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

mv#

Batch git mv command.

gitp mv [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

poetry#

Batch poetry command.

gitp poetry [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

prs#

Pull requests command group.

gitp prs [OPTIONS] COMMAND [ARGS]...
close#

Batch close pull requests on GitHub.

gitp prs close [OPTIONS]
create#

Batch creation of pull requests on GitHub.

gitp prs create [OPTIONS]
merge#

Batch merge of pull requests on GitHub.

gitp prs merge [OPTIONS]
reopen#

Batch reopen pull requests on GitHub.

gitp prs reopen [OPTIONS]

pull#

Batch git pull command.

gitp pull [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

push#

Batch git push command.

gitp push [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

rebase#

Batch git rebase command.

gitp rebase [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

reset#

Batch git reset command.

gitp reset [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

rm#

Batch git rm command.

gitp rm [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

show#

Batch git show command.

gitp show [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

status#

Batch git status command.

gitp status [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

switch#

Batch git switch command.

gitp switch [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)

tag#

Batch git tag command.

gitp tag [OPTIONS] [ARGS]...

Arguments

ARGS#

Optional argument(s)