-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add Contributing guideline #555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| ## Your new git-extra command should support... | ||
|
|
||
| * Should support Mac and Linux(You may need to browse their man page) | ||
|
||
| * Should support Bash 3 or newer(If you are not sure, [Bash versions](http://tldp.org/LDP/abs/html/bash2.html)) | ||
|
||
| * Should support Git 2.1+ | ||
|
||
|
|
||
| ## To submit a new command, you should... | ||
|
||
|
|
||
| Let's assume your new command is named `foo`. | ||
|
|
||
| 1. Write a bash script under `./bin` called `git-foo`. | ||
| 2. Read `./man/Readme.md` and write documentation for `git-foo`. | ||
| 3. Don't forget to introduce it in `Commands.md`. | ||
| 4. Update `./etc/git-extras-completion.zsh`. Just follow existing code. | ||
| 5. (Optional) Update `./etc/bash_completion.sh`. | ||
| 6. Run `./check_integrity.sh foo` to check if all is done. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Your new git-extra command should support