Skip to content

Instantly share code, notes, and snippets.

@revans
Created September 9, 2019 15:29
Show Gist options
  • Save revans/15581697f6324e109380a1f8ea447685 to your computer and use it in GitHub Desktop.
Save revans/15581697f6324e109380a1f8ea447685 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# Needs to be saved into your ~/bin directory
#
# Example: git dev my-feature-name
#
# set -e
git checkout -b dev/$1
#!/bin/bash
#
# Needs to be saved into your ~/bin directory
#
# Example: git feature my-feature-name
#
# set -e
git checkout -b feature/$1
#!/bin/bash
#
# Needs to be saved into your ~/bin directory
#
# Example: git hotfix my-hotfix-name
#
# set -e
git checkout -b hotfix/$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment