Skip to content

Instantly share code, notes, and snippets.

@zedd45
Created June 6, 2018 14:20
Show Gist options
  • Save zedd45/7eacd9ad89d471b3f1a574e888fac375 to your computer and use it in GitHub Desktop.
Save zedd45/7eacd9ad89d471b3f1a574e888fac375 to your computer and use it in GitHub Desktop.
fish function for common git workflow
function branch
git stash save "saving temporary state of branch $argv"
git checkout $argv
git branch -u origin/develop
git stash pop
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment