Skip to content

paszynski/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

Git .dotfiles repo as proposed by Anand Padmanabha Iyer

First Time Setup:

mkdir $HOME/.dotfiles
git init --bare $HOME/.dotfiles
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
dotfiles remote add origin git@gitub.com:paszynski/.dotfiles.git

Example:

cd $HOME
dotfiles add .tmux.conf
dotfiles commit -m "Add .tmux.conf"
dotfiles push

Setting up a new machine:

git clone --separate-git-dir=$HOME/.dotfiles git@github.com:paszynski/.dotfiles.git ~

in case it fails execute:

git clone --separate-git-dir=$HOME/.dotfiles git@github.com:paszynski/.dotfiles.git tmpdotfiles
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/
rm -r tmpdotfiles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors