1
0
Fork
You've already forked githome
0
Git Home (https://github.com/jreisinger/githome) Repository for configuration files
  • Shell 100%
2026年07月02日 07:45:40 +10:00
.config Set alacritty font size to a more comfortable value 2026年07月02日 07:45:40 +10:00
.gitignore update gitignore, add githome alias 2026年06月22日 14:07:25 +10:00
readme.md Add readme 2026年06月22日 06:46:52 +02:00

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.