Git Home (https://github.com/jreisinger/githome) Repository for configuration files
| .config | Set alacritty font size to a more comfortable value | |
| .gitignore | update gitignore, add githome alias | |
| readme.md | Add readme | |
Githome
This is an implementation of the githome way of dotfile management.
Description and use
From the readme of githome:
Githome is a simple way to manage your Unix home (dot) files, using only git.
The idea is that you track your $HOME files in a bare git repo.
$ git init --bare $HOME/{...}/githome
$ alias githome='git --work-tree=$HOME --git-dir=$HOME/github.com/jreisinger/githome'
$ githome remote add origin git@github.com:jreisinger/githome.git
You ignore all files in your $HOME
$ cat $HOME/.gitignore
*
!.gitignore
except for those you want to track
$ githome add .gitignore # you'll need -f for all other files
$ githome commit -m "genesis"
$ githome ls-tree main -r --name-only
.gitignore
Everyday use
In everyday use, normal git commands can be used by utilising the githome alias.
$ githome pull
$ githome push
You can update the .gitignore file to include files and directories that you've added.
This allows git to show changed files that have been added in githome status for instance.