blob: 36af6d050e1486b7e6cfcfb59105798a724049b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# 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'
Au lieu de
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
|