Skip to content

Instantly share code, notes, and snippets.

@fabienheureux
Created June 4, 2018 15:35
Show Gist options
  • Save fabienheureux/18c989fc7218e926c505048aaa306fc6 to your computer and use it in GitHub Desktop.
Save fabienheureux/18c989fc7218e926c505048aaa306fc6 to your computer and use it in GitHub Desktop.
git init --bare $HOME/.pointfichiers
alias config='/usr/bin/git --git-dir=$HOME/.pointfichiers/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
echo "alias config '/usr/bin/git --git-dir=$HOME/.pointfichiers/ --work-tree=$HOME'" >> $HOME/.config/fish/config.fish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment