Skip to content

Dotfiles are a way of backing up and syncing my settings the my setup across multiple machines.

Notifications You must be signed in to change notification settings

viktree/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

dotfiles

This repository contains my personal dotfiles - settings files for various tools. To make it easy to keep environments isolated but consistent, each machine/account has its own branch

Branch naming convention

  • Format: <os>/<hostname>
  • I use mac instead of osx for clarity.
  • Hostnames are named after characters from The Adventures of Tintin.


Active machines

Retired machines

Work Machines


Quick start

Two options for managing these dotfiles:

Option 1: Minimal (bare repo)

git clone --bare https://github.com/viktree/dotfiles.git $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'

config checkout -b <branch>
config config --local status.showUntrackedFiles no
config add <file>
config commit -m "initial commit"
config push --set-upstream origin <branch>

Option 2: Using yadm

yadm is yet another dotfiles manager

git clone https://github.com/TheLocehiliosan/yadm.git ~/.config/yadm
ln -s ~/.config/yadm ~/bin/yadm

yadm remote add origin https://github.com/viktree/dotfiles
yadm pull
yadm bootstrap

yadm checkout -b <branch>
yadm add <file>
yadm commit -m "initial commit"
yadm push --set-upstream origin <branch>

Helpful things to do after adding a branch

Here's a checklist of things to go over

  • add machine specs to the README.md file of the branch
  • add entry to this file on the master branch
  • make sure to commit to the branch frequently

Link to how these files are setup and the configuration files for my other machines

About

Dotfiles are a way of backing up and syncing my settings the my setup across multiple machines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages