LoginSignup
5
6

More than 5 years have passed since last update.

コマンドラインから、ブランチで変更したすべてのファイルを一発で開く

Last updated at Posted at 2015-02-05

あちこちcheck out している間に、作業していたエディタのウィンドウがぐちゃぐちゃになっている。。。
そういうことで、無理やり作ってみました。

.gitconfig
[alias]
  open = "!subl . && subl $(git diff origin/master...$(git symbolic-ref --short HEAD) --name-only)"
$ git open # 指定したエディタから、すべてのファイルが一気に開かれる

試してみてください!

5
6
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
5
6