Skip to content

Instantly share code, notes, and snippets.

@thecharlieblake
Last active October 23, 2020 15:17
Show Gist options
  • Save thecharlieblake/0b4f70f68118c1693fde79391baede7c to your computer and use it in GitHub Desktop.
Save thecharlieblake/0b4f70f68118c1693fde79391baede7c to your computer and use it in GitHub Desktop.
mv .bashrc .bashrc.bak
git clone --bare https://github.com/thecharlesblake/cfg.git $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
config checkout
config config --local status.showUntrackedFiles no
config submodule update --init --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment