Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 525 Bytes

File metadata and controls

19 lines (14 loc) · 525 Bytes

Agent Notes

Dotfiles Git Repository

This home directory is managed by a bare Git repository. The interactive shell defines this alias in ~/.aliases:

alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME'

When checking dotfile status, diffs, or staged changes from non-interactive commands, expand the alias explicitly:

git --git-dir="$HOME/.cfg/" --work-tree="$HOME" status
git --git-dir="$HOME/.cfg/" --work-tree="$HOME" diff
git --git-dir="$HOME/.cfg/" --work-tree="$HOME" diff --staged