Skip to content

My (n)ever-changing dotfiles / bare git style

Notifications You must be signed in to change notification settings

dacort/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My (n)ever-changing dotfiles / bare git style

Overview

I've tried a few variations of dotfiles in the past, but I never really liked having to manage my config files with more code.

So in hunting around for solutions (and trying yadm as well) I came across the git bare repo approach.

I quite liked it, so this is my attempt at managing my dotfiles across 1-n machines where currently n=2.

Bootstrapping

  • Clone the repo (without auth)
git clone --bare https://github.com/dacort/dotfiles.git .cfg
git --git-dir=$HOME/.cfg --work-tree=$HOME checkout -f
  • Update your shell and do not show untracked files
source ~/.zshrc
git config --local status.showUntrackedFiles no
  • Run the macos installation script
./.macos
  • After creating/adding a new SSH key to GH, switch the origin and push any changes
git remote set-url origin [email protected]:dacort/dotfiles.git

About

My (n)ever-changing dotfiles / bare git style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages