- OSX, Linux, BSD (You may need to browse their man page)*
- Bash 3.2+ (If you aren't sure, see the Bash changelog)
- Git 2.1+
*If you aren't able to test your new command on a platform, make that clear in your PR and someone else may be able to test it on their system.
Let's assume your new command is named foo
.
- Write a bash script under
./bin
calledgit-foo
. The script should be started with#!/usr/bin/env bash
. - Read
./man/Readme.md
and write documentation forgit-foo
. - Don't forget to introduce it in
Commands.md
. - Update
./etc/git-extras-completion.zsh
. Just follow existing code. - (Optional) Update
./etc/bash_completion.sh
. - (Optional) Update
./etc/git-extras.fish
. - Run
./check_integrity.sh foo
to check if all done.
You are welcome to open up an issue to discuss new commands or features before opening a pull request.