vterdunov / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

prompt

Install

git clone --bare https://github.com/USERNAME/dotfiles.git $HOME/.dotfiles && \
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

Checkout the actual content from the git repository to your $HOME

dotfiles checkout
export SUDO_PASS=your-sudo-pass
bash install.sh

Manage

git init --bare $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no

Usage:

dotfiles status
dotfiles add .vimrc
dotfiles commit -m "Add vimrc"
dotfiles add .bashrc
dotfiles commit -m "Add bashrc"
dotfiles push

About


Languages

Language:Shell 100.0%