Skip to content

finnriedel/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

A place to keep all my .dotfiles synced and backed up.

To maintan my .dotfiles sym-link- and hassle-free, i am using a bare GitHub repo. Iwas made aware of this option by DistroTube's Video about Bare Git Repositories.

To sum up the steps quickly:

  • Create a GitHub Repository
  • Clone repo with --bare flag
git clone --bare https://github.com/finnriedel/dotfiles 
  • Create an alias in the .bashrc config
 alias dotfiles='/usr/bin/git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME'
  • Reload bash and you're ready to add, commit and push your .dotfiles
dotfiles add .bashrc
dotfiles commit -m "Added .bashrc config"
dotfiles push 

About

A place for all my configuration .dotfiles in a bare repo setup!

Topics

Resources

Stars

Watchers

Forks