Skip to content

Instantly share code, notes, and snippets.

@themarcba
Created January 24, 2022 13:47
Show Gist options
  • Save themarcba/827c3a49576490fc11807b15a610c497 to your computer and use it in GitHub Desktop.
Save themarcba/827c3a49576490fc11807b15a610c497 to your computer and use it in GitHub Desktop.
Short commands to pull the current branch and create a new branch from it
#!/usr/bin/env zsh
source ~/.zshrc
ggpull
gco -b "bugfix/$1"
#!/usr/bin/env zsh
source ~/.zshrc
ggpull
gco -b "feature/$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment