You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Init a repository in your home directory:
git init --bare ${HOME}/.cfg
# Create alias in the current shellalias config='/usr/bin/git --git-dir=${HOME}/.cfg/ --work-tree=${HOME}'# Ignore untracked files, so everything would look clean:
config config --local status.showUntrackedFiles no
# Add alias to shells:echo"alias config='/usr/bin/git --git-dir=${HOME}/.cfg/ --work-tree=$HOME'">>${HOME}/.bashrc
echo"alias config='/usr/bin/git --git-dir=${HOME}/.cfg/ --work-tree=$HOME'">>${HOME}/.zshrc