iquabius / dotfiles

My dotfiles managed by git using a custom `--work-tree`.
1 stars 0 forks source link

Use "stow" instead of myrepos and vcsh #1

Open iquabius opened 4 years ago

iquabius commented 4 years ago

Stow keeps everything in a directory and symlinks the files. This way we could use Emacs + Magit to manage the repository without hassle

Thanks for introducing this to me:) I switched from a bare git repo to this because it was easier to use with emacs magit/projectile. -- Manage Your Dotfiles With Style! - Wolfgang's Channel on YouTube

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

iquabius commented 3 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