git: minor syntax fix

This commit is contained in:
Marc Cornellà 2019-04-09 18:35:09 +02:00 committed by GitHub
parent 35dc26a2c0
commit b31106b341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,7 +242,7 @@ alias gst='git status'
# use the default stash push on git 2.13 and newer # use the default stash push on git 2.13 and newer
[[ "$(git --version 2>/dev/null)" =~ '^git version ([0-9]+.[0-9]+)' && "$match" -ge '2.13' ]] \ [[ "$(git --version 2>/dev/null)" =~ '^git version ([0-9]+.[0-9]+)' && "$match" -ge '2.13' ]] \
&& alias gsta='git stash push' && alias gsta='git stash push' \
|| alias gsta='git stash save' || alias gsta='git stash save'
alias gstaa='git stash apply' alias gstaa='git stash apply'