0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

TortoiseGitの右クリックメニューに好きなアクションを追加できない時の対処

Posted at

はじめに

TortoiseGit(トータスギット)便利で使っているんですが(特にRevision Graphが好き)、Gitリポジトリで

右クリック(コンテキストメニュー) → TortoiseGit → Git pull

と、「TortoiseGit 」の階層の奥に行くのが微妙に面倒です。

コンテキストメニューにアクションを追加する

で、TortoiseGitにはコンテキストメニュー(右クリック)に直接Gitのアクションを追加する設定があって、

  1. Gitリポジトリフォルダでコンテキストメニューを開く
  2. TortoiseGit → Setting → General → Context Menu
  3. 好きなアクションにチェックを入れる

を使えば、

Gitリポジトリフォルダで右クリック(コンテキストメニュー) → Git pull

とか直接呼び出せて便利です。

追加できない時がある

気持ち良く好きなアクションを追加してて気づくのですが、一部のアクションだけコンテキストメニューに持ってこれません。

で、これを追加には、サブのコンテキストメニューからアクションを除外してやれば良いです。

例:Git switch/checkout... をコンテキストメニューに追加する場合

  1. Gitリポジトリフォルダでコンテキストメニューを開く
  2. TortoiseGit → Setting → General → Set Extend Menu Item
  3. Git switch/checkout...のチェックを外す
  4. TortoiseGit → Setting → General → Context Menu
  5. Git switch/checkout...のチェックを入れる

これで

Gitリポジトリフォルダで右クリック(コンテキストメニュー) → Git switch/checkout...

的な感じでコンテキストメニューに表示されるようになります。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?