Skip to content

Version controlling my dotfiles on Github using a bare repo and aliases.

Notifications You must be signed in to change notification settings

salaami/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

dotfiles

Managing my configuration files in a github repo helps me to version-control my configurations.
Also I can easily reuse them on different machines for work or private use.
As suggested in this Arch Wiki article I am will be using an alias instead of symlinks.
The dotfiles can be replicated on a new system like so:

$ git clone --bare <git-repo-url> $HOME/.dotfiles
$ alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
$ dotfiles checkout
$ dotfiles config --local status.showUntrackedFiles no

About

Version controlling my dotfiles on Github using a bare repo and aliases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages