Skip to content

bethebunny/dotfiles

Repository files navigation

New machine setup

git init --bare "$HOME/.dotfiles"
alias dotfiles="/usr/bin/env git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"

dotfiles remote add origin https://github.com/bethebunny/dotfiles
dotfiles fetch
dotfiles checkout origin/master

# most dotfiles now available, not necessarily active
dotfiles co -b master
dotfiles branch --set-upstream-to=origin/master

# if you want to be able to push to github
gh auth login
  • Restart shell/vim/whatever to make everything take effect
  • Add new dotfiles with dotfiles add .blah && dotfiles commit -m 'adding .blah' && dotfiles push
  • Sync with dotfiles pull

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •