I’ve just merged two branches in git. Now I’m examining my (broken) code in Eclipse (on Windows). I’d like to be able to browse the HEAD of the source branch without checking it out. I know I can use git-show to see a single file in another branch, but ideally I’d like to be able to (locally) see the directory tree of the source branch, and jump from file to file easily. I already have git-extensions installed in case there’s a way to use that that I’ve missed.
If there isn’t a way to do this locally I assume I’ll have to browse the (remote) repository, but I’d rather do it locally.
If you are using Git-Gui, you can browse files in different branches without checking them out. In Git-Gui, go to Repository menu, then click on Browse Branch Files, choose any branch, click on Browse button. It opens a new window, where you can browse thorough directory tree of the selected branch.