Skip to main content

5.8.1 General-Purpose Visit Commands

These commands can be used anywhere to open any blob. Currently no keys are bound to these commands by default, but that is likely to change.

command magit-find-file

This command reads a filename and revision from the user and visits the respective blob in a buffer. The buffer is displayed in the selected window.

command magit-find-file-other-window

This command reads a filename and revision from the user and visits the respective blob in a buffer. The buffer is displayed in another window.

command magit-find-file-other-frame

This command reads a filename and revision from the user and visits the respective blob in a buffer. The buffer is displayed in another frame.