Editora 0.21.0. Archived, so links from that release keep working. Read the 0.28.0 page →

Git Log: Checkout Selected Commit

git.log.checkout

Check out the commit selected in the Git Log tool window (detached HEAD).

How to run it

Open the command palette and search for Git Log: Checkout Selected Commit, then press Enter. The palette opens with M-x in Emacs, C-S-p in CUA, Sublime Text and VS Code, and C-S-a in IntelliJ IDEA. It has no default keybinding, but you can bind one in Settings → Keymaps.

See also