Skip to content

Instantly share code, notes, and snippets.

@ejpcmac
Created October 7, 2022 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ejpcmac/8cce9f7a43fe18271aefe45889f61713 to your computer and use it in GitHub Desktop.
Save ejpcmac/8cce9f7a43fe18271aefe45889f61713 to your computer and use it in GitHub Desktop.
Script to configure git-flow with custom values
#!/bin/sh
set -e
set -x
# Setup git-flow
git flow init -d
git config gitflow.prefix.versiontag "v"
git config gitflow.feature.finish.no-ff true
git config gitflow.release.finish.sign true
git config gitflow.hotfix.finish.sign true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment