Skip to content

rjlaine/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles repository

Use

Clone the dotfiles to your home directory

git clone --bare git@github.com:rjlaine/dotfiles.git ~/.dotfiles
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME config --local status.showUntrackedFiles no

Once you have the files in place, start a new shell. You will now have an alias dot for adding and storing dotfiles which points at the bare repo in ~/.dotfiles.

Examples

# Add a file, commit, and push
dot add ~/.dotfile
dot commit -m "hello world"
dot push

# Fetch and diff against origin
dot fetch
dot diff FETCH_HEAD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages