rbathri / dotfiles-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Setup

git init --bare $HOME/.dotfiles
mydotfiles remote add origin git@github.com:shadyabhi/dotfiles.git

Configuration

alias mydotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
mydotfiles config status.showUntrackedFiles no

Usage

mydotfiles status
mydotfiles add .gitconfig
mydotfiles commit -m 'Add gitconfig'
mydotfiles push

Replication

git clone --separate-git-dir=$HOME/.dotfiles https://github.com/shadyabhi/dotfiles.git dotfiles-tmp
rsync --recursive --verbose --exclude '.git' dotfiles-tmp/ $HOME/
rm --recursive dotfiles-tmp

About


Languages

Language:Vim Script 61.5%Language:Python 38.5%