Skip to content

Instantly share code, notes, and snippets.

@ZogStriP
Last active July 15, 2024 08:09
Show Gist options
  • Save ZogStriP/c626b10d3131c99fb007ea2ac4f92adc to your computer and use it in GitHub Desktop.
Save ZogStriP/c626b10d3131c99fb007ea2ac4f92adc to your computer and use it in GitHub Desktop.
dotfiles
# https://www.atlassian.com/git/tutorials/dotfiles
git init --bare $HOME/.dotfiles
echo "alias dot='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.bashrc
source $HOME/.bashrc
dot config --local status.showUntrackedFiles no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment