Skip to content

Instantly share code, notes, and snippets.

@piotrze
Created April 17, 2020 12:10
Show Gist options
  • Save piotrze/6909ce10465b0b326d7159eebd4b0f73 to your computer and use it in GitHub Desktop.
Save piotrze/6909ce10465b0b326d7159eebd4b0f73 to your computer and use it in GitHub Desktop.
#!/bin/bash
T=${1:-qa2}
git branch -D $T
git checkout -b $T && git push --set-upstream origin $T --force
git checkout -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment