1
0

【Git】aliasで引数を文字埋め込みする

Posted at

誰も教えてくれなかったので

[alias]
	cbfix = !sh -c 'git checkout -b fix/PREFIX-$0'

git cbfix 002fix/PREFIX-002ブランチを作成できる

一番参考になったのはC君

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0