modify CONTRIBUTING.md again

This commit is contained in:
罗泽轩 2016-07-30 22:49:06 +08:00 committed by GitHub
parent 311ef28b66
commit d38d3f4ffa

View file

@ -1,9 +1,12 @@
## Your new git-extra command should support ## Your new git-extra command should support
* OSX, Ubuntu, FreeBsd(You may need to browse their man page) * OSX, Linux, BSD (You may need to browse their man page)<sup>*</sup>
* Bash 3.2+ (If you are not sure, [Bash versions](http://tldp.org/LDP/abs/html/bash2.html)) * Bash 3.2+ (If you aren't sure, see [the Bash changelog](http://tldp.org/LDP/abs/html/bash2.html))
* Git 2.1+ * Git 2.1+
<sup>*</sup>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.
## To submit a new command, you should ## To submit a new command, you should
Let's assume your new command is named `foo`. Let's assume your new command is named `foo`.
@ -13,6 +16,6 @@ Let's assume your new command is named `foo`.
3. Don't forget to introduce it in `Commands.md`. 3. Don't forget to introduce it in `Commands.md`.
4. Update `./etc/git-extras-completion.zsh`. Just follow existing code. 4. Update `./etc/git-extras-completion.zsh`. Just follow existing code.
5. (Optional) Update `./etc/bash_completion.sh`. 5. (Optional) Update `./etc/bash_completion.sh`.
6. Run `./check_integrity.sh foo` to check if all is done. 6. 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. You are welcome to open up an issue to discuss new commands or features before opening a pull request.