blob: f868e4cd4cc3f2dd82ab8eacce8ec100e02ebd01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Dotfiles
Configuration files, stored in a bare git repository. Avoid symlinks and extra tooling
Use:
git init --bare ~/dotfiles
alias dotfiles='git --git-dir=$HOME/dotfiles --work-tree=$HOME'
Instead of:
dotfiles config status.showUntrackedFiles no
`cat ~/.gitignore` :
*
On other machine, to reconstruct:
git clone --bare git@bip.im:dotfiles dotfiles
alias dotfiles as above
dotfiles checkout
Remove files in the way if necessary.
Manage one branch per computer if necessary.
If a change is for all, do it on master, then:
dotfiles merge master
|