Welcome to argc-completions and thank you for considering contributing!
This creates a personal remote repository that you can push to. This is needed because only argc-completions maintainers have push access to the main repositories.
- Change to the ARGC_COMPLETIONS_ROOT
cd $ARGC_COMPLETIONS_ROOT- Add your pushable forked repository as a new remote:
git remote add <YOUR_USERNAME> https://github.com/<YOUR_USERNAME>/argc-completions.gitTo make changes on a new branch and submit it for review, create a GitHub pull request with the following steps:
- Check out the
mainbranch:
git checkout main- Retrieve new changes to the master branch:
git pull origin main
./scripts/download-tools.sh-
Make your changes.
-
Check your completion script
argc check <COMMAND>- Commit the changes
Our prefered commit message format:
-
add: COMMANDif your add a new completion script. e.g.add: cargo-binstall -
COMMAND: ...if your modify a completion script.
- Upload your branch of new commits to your fork:
git push --set-upstream <YOUR_USERNAME> <YOUR_BRANCH_NAME>
-
Go to the https://github.com/sigoden/argc-completions and create a pull request to request review and merging of the commits from your pushed branch.
-
Await feedback or a merge from Homebrew’s maintainers.