Skip to content

ifohancroft/dotfiles-readme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

dotfiles

Setup

mkdir $XDG_DATA_HOME/dotfiles
git init --bare $XDG_DATA_HOME/dotfiles
echo "alias dotfiles='git --git-dir=$XDG_DATA_HOME/dotfiles/ --work-tree=$HOME'" >> $HOME/.bashrc
alias dotfiles='git --git-dir=$XDG_DATA_HOME/dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
dotfiles remote add origin git@github.com:ifohancroft/dotfiles.git
dotfiles add .bashrc
dotfiles status
dotfiles commit -m "Added .bashrc"
dotfiles push -u origin master

Replication

git clone --bare git@github.com:ifohancroft/dotfiles.git $XDG_DATA_HOME/dotfiles
alias dotfiles='git --git-dir=$XDG_DATA_HOME/dotfiles/ --work-tree=$HOME'
dotfiles checkout -f
dotfiles config --local status.showUntrackedFiles no

Usage

dotfiles status
dotfiles add .Xresources
dotfiles commit -m "Added .Xresources"
dotfiles push

About

The README.md for my dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published