-
Notifications
You must be signed in to change notification settings - Fork 64
Using git reflow with multiple projects
Valentino edited this page Nov 14, 2017
·
3 revisions
It's common to have many projects that have their own tweaks to your typical workflow. For that reason, we've made it easy to alter your workflow on a per-project basis. We do this by taking advantage of your project's local .git/config
. Simply change your current working directory to the root of your project, and re-run the setup with our special --local
flag:
git reflow setup --local
This allows you to re-configure your git-reflow workflow to:
- Use BitBucket instead of GitHub
- Set the minimum number of required approvals
- Example, change to 3:
git config --replace-all "constants.minimumApprovals" "3"
- Example, change to 3:
- Set a custom a custom regular expression for marking matching comments as approved (we use
/(?i-mx:lgtm|looks good to me|:\+1:|:thumbsup:|:shipit:)/
- Example, change to only match "Approved":
git config --replace-all "constants.approvalRegex" "/(?i-mx:approved)/"
- Example, change to only match "Approved":
See the Full List of Configuration Options.