Skip to content

Chipskein/dotfiles

Repository files navigation

dotfiles

bare git repository to track dotfiles

How to set git bare repository to track dotfiles

Create dotfiles local bare git repo

  mkdir $HOME/dotfiles

init repo

  git init --bare $HOME/dotfiles

Set shell alias

  echo "alias dotfile='/usr/bin/git  --git-dir=$HOME/dotfiles --work-tree=$HOME'" >> $HOME/.zshrc

Set a remote git repo

  dotfile add remote <remote-url>

Create Branch

  dotfile checkout -B files

About

my dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published