I have the following alias in git under Windows:
ss = \"!git stash save $1\"
If I enter git ss abc in git bash I get:
expansion of alias 'ss' failed; '!git stash save $1' is not a git command
How can I get this to work?
The last parameter for an alias can be simply omitted:
ss = "!git stash save"
For more complex parameterization see https://stackoverflow.com/search?q=%5Bgit%5D+alias+parameters
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With