Open iquabius opened 5 years ago
The approach using a bare git repository is described by gksudo on "How to Create a Dotfiles Folder - System Crafters on YouTube":
Hey David, the way I manage my dotfiles is by creating a git bare repository in my home folder and setting an alias like:
alias config="/usr/bin/git --git-dir=$HOME/dotfiles/.git/ --work-tree=$HOME"
And then add files to the repository with:config add filename.txt
, commit with:config commit
, etc. This eliminates the need to create symlinks of all the files
A important question is:
can you use the bare repository with magit somehow, i also use a bare one and could not yet figure out, who it should work -- Wacken Alt
Stow keeps everything in a directory and symlinks the files. This way we could use Emacs + Magit to manage the repository without hassle
System Crafters has 2 videos about Stow:
System Crafters doesn't show how to use Stow, he just mentions it. For now these 2 videos are the only ones in the Managing Your Dotfiles playlist