Skip to content

Instantly share code, notes, and snippets.

@aaronmallen
Last active December 12, 2019 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronmallen/1929ad8cecc841ec272624885d733c2a to your computer and use it in GitHub Desktop.
Save aaronmallen/1929ad8cecc841ec272624885d733c2a to your computer and use it in GitHub Desktop.
Install my custom mac-osx-dotfiles
git clone --bare https://github.com/aaronmallen/dotfiles.git $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
rm -rf $(config ls-files)
config checkout
config config status.showUntrackedFiles no
config remote remove origin
config remote add origin git@github.com:aaronmallen/dotfiles.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment