Skip to content

Instantly share code, notes, and snippets.

@ndavison
Created March 30, 2020 23:25
Show Gist options
  • Save ndavison/357fdd7b610f8801f2391debaddaeff2 to your computer and use it in GitHub Desktop.
Save ndavison/357fdd7b610f8801f2391debaddaeff2 to your computer and use it in GitHub Desktop.
aliases
alias rcupdate='BRANCH=$(git rev-parse --abbrev-ref HEAD) && git checkout rc && git pull origin rc && git pull origin "$BRANCH" && git push origin rc && git checkout "$BRANCH"'
alias alphaupdate='BRANCH=$(git rev-parse --abbrev-ref HEAD) && git checkout alpha && git pull origin alpha && git pull origin "$BRANCH" && git push origin alpha && git checkout "$BRANCH"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment