Created
June 6, 2018 14:20
-
-
Save zedd45/7eacd9ad89d471b3f1a574e888fac375 to your computer and use it in GitHub Desktop.
fish function for common git workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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