Git Subcommand Aliasing

You can map Aviator CLI command as git subcommand. In your .gitconfig, you can add aliases:

~/.gitconfig
# Do not forget an exclamation point before av.
[alias]
    sync = !av sync
    tree = !av tree
    pr = !av pr

With the config above, git sync will execute av sync.

This utilizes a feature that git provides. You can see the details in git-config(1).

Last updated