1 Star 2 Fork 0

Git工具集 / git-extras

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CONTRIBUTING.md 984 Bytes
一键复制 编辑 原始数据 按行查看 历史

Your new git-extra command should support

  • 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.

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. The script should be started with #!/usr/bin/env bash.
  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 done.

You are welcome to open up an issue to discuss new commands or features before opening a pull request.

Shell
1
https://gitee.com/vcs-all-in-one/git-extras.git
git@gitee.com:vcs-all-in-one/git-extras.git
vcs-all-in-one
git-extras
git-extras
master

搜索帮助