Created 8 years ago
Maintained by ralph
CLI tool for interacting with
Members 5
Lubomír Sedlář committed 4 years ago


pag helps you win at

Intended to mimic the hub cli tool for


$ pag --help
Usage: pag [OPTIONS] COMMAND [ARGS]...

  --help  Show this message and exit.


The clone command can be used to clone a repo by name without having to find or type out the URL:

❯ pag clone koji
Cloning into 'koji'...

Or you can clone a fork:

❯ pag clone ralph/koji
Cloning into 'koji'...

After you clone a repo, you can fork it on and adjust your local remote settings:

❯ pag fork

If you want to add the remotes of other forks, that's easy too. Just do it by username:

❯ cd koji/
❯ pag remote add ausil
❯ git remote -v
ausil   ssh:// (fetch)
origin  ssh:// (fetch)
❯ git pull ausil master

pag provides a convenience command for creating new projects:

❯ pag create factory2 "Ostensibly better than factory version 1"

To enable bash completion, add the following to your .bashrc:

eval "$(_PAG_COMPLETE=source pag)"