Skip to content
AD
Setup navigation
GITNEOVIM EDITOR

Git

The Git config stays small: a few aliases, Neovim as editor and GitHub CLI credential helpers.

Aliases

lg
log --graph --abbrev-commit --decorate --date=relative --all

Compact graph log

st
status

Status

gsw
switch

Switch branches

Defaults

Neovim is configured as the core Git editor.
The default initial branch is main.
push.default is current.
pull.rebase is disabled.
GitHub and Gist credentials are delegated to gh auth git-credential.

Source

dotfiles/git/.gitconfig ↗