We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I want something like that:
gc=git commit -m $1
But when i hit gc "my message", the commited message is just "my".
gc "my message"
"my"
How can I add the entire string as one parameter?
The text was updated successfully, but these errors were encountered:
You can use $* to get everything passed into the alias. So gc=git commit -m $* would do what you need.
$*
gc=git commit -m $*
Sorry, something went wrong.
Thaaaaaanks very much! :)
Enviado pelo meu Windows Phone
From: Morten Lindhardtmailto:notifications@github.com Sent: 27/01/2015 07:40 To: bliker/cmdermailto:cmder@noreply.github.com Cc: Luís Rudgemailto:luis@luisrudge.net Subject: Re: [cmder] create alias with multi word parameter (#376)
You can use $* to get all the arguments. So gc=git commit -m $* would do what you need.
Reply to this email directly or view it on GitHub: #376 (comment)
Good job man
No branches or pull requests
I want something like that:
gc=git commit -m $1
But when i hit
gc "my message"
, the commited message is just"my"
.How can I add the entire string as one parameter?
The text was updated successfully, but these errors were encountered: