Use GNU Stow for your dotfiles
You want to keep a nice repo in git of all your dotfiles, but copying them back and forth is a lot of work, and creating a repo in your home directory is problematic.
Enter GNU Stow
brew install stow # or any package manager
mkdir ~/dotfiles
cd dotfiles
mkdir vim
touch vim/.vimrc
git add vim
git commit -m "Adds vim files to repo"
stow vim #Drops everything inside vim/* to ~/
stow -D vim # Uninstalls vim files
Written by Brian Graham
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#