Use stash 'push' or 'save' depending on Git version
A utility function now parses the output of git --version and set the alias for git stash to 'git stash push' iff the current version of Git is greater than 2.13; it falls back to 'git stash save' otherwise.
Please register or sign in to comment