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-spic】submit時にユーザーをassignする方法

Posted at

設定方法

以下のコマンドで、submit時に常に自分自身がassignされるように設定できます。

git config spice.submit.assignees $(whoami)

使い方

設定後は、通常通りgs branch submitを実行するだけで、自動的に自分がassignされます。

gs branch submit

フラグとの併用

--assignフラグを使用した場合、設定値とフラグで指定した値が両方適用されます。

# 設定された自分に加えて、別のユーザーもassign
gs branch submit --assign another-user

複数のユーザーを指定

カンマ区切りで複数のユーザーを指定することも可能です。

git config spice.submit.assignees "user1,user2,user3"
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?