0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【git-spice】submit時に自動でラベルを追加する方法

Posted at

設定方法

.git/configまたは~/.gitconfigに以下を追加します。

[spice.submit]
    label = bug,needs-review

カンマ区切りで複数のラベルを指定できます。

使い方

基本的な使用

設定後、通常通りgs branch submitを実行するだけで、設定したラベルが自動的に付与されます。

gs branch submit

コマンドラインでの追加指定

-l/--labelフラグを使用すると、設定ファイルのラベルに加えて、追加のラベルを指定できます。

gs branch submit -l urgent -l hotfix

この場合、bugneeds-reviewurgenthotfixの4つのラベルが付与されます。

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?