The VC package is built into Emacs and provides some basic support for browsing file versions, browsing logs, checking out, committing, etc. VC commands are bound to C-x v by default.
There are several commands to access other revisions. If you know what revision you want to open, press C-x v ~ (vc-revision-other-window). To open the last revision that changed a given line, press C-x v g (vc-annotate), and press f (vc-annotate-find-revision-at-line) on the desired line. If you want to find and open a revision based on its log message, run C-x v l (vc-print-log) and press f (log-view-find-revision) when the cursor is on the desired commit.
https://dev.to/equiman/why-oh-my-zsh-is-so-cool-31gd
Aliases (with custom): gco gcb gd gs gds gl gp grbi gcmsg gwip / gunwip gsta / gstp
Custom:
alias gds="gd --staged"
alias gs="gss"
alias glolp="glol -p"
alias gdmb="git diff $(git merge-base --fork-point master)"Hotkeys & instant search