Open tsonobe1 opened 3 years ago
$ gh issue create --title "title" -b "body"
adis = !"f(){ gh issue create --title \"$1\" -b \"$2\"; };f"
git adis "How to pass arguments to gitconfig alias." "Body ~~"
!
at the beginning of the alias to replace the git ~
command with an external command.
ref https://qiita.com/YamEiR/items/d98ba009d2925e7eb305
How to pass arguments
use function &
$number
How to pass a string containing whitespace as an argument.
Surround
$number
with\” $number \”
.user single quote