git diff HEAD master -- file.rbbut today I discovered there's an emacs way to do it.
M-x ediff-revision. it asks you for a file (defaults to the current one), and two branches. And that's it!
Technical stuff, mostly
git diff HEAD master -- file.rbbut today I discovered there's an emacs way to do it.
M-x ediff-revision. it asks you for a file (defaults to the current one), and two branches. And that's it!
2 comentarios:
If you use magit you can also use "magit-find-file".
Aha, nice!
Indeed I use magit. Thanks for the hint!
Publicar un comentario