summaryrefslogtreecommitdiff
path: root/README
blob: 2e537e55dfdd769d2089440d3baf56883c772fba (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
A few good dotfiles
===================

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝

Usage notes
-----------

Some Git sorcery to maximize usability and avoid brittle hacks
(e.g. symlinks, homebrewed synchronization scripts):

``` sh
# In $HOME, prepare a Git repository:
$ git init

# Grab history:
$ git remote add --fetch $cutename $url

# Move to latest commit without actually touching files:
$ git reset $cutename/master

# Checkout dotfiles that were not already in $HOME:
$ git checkout -- .gitignore # …

# Tell Git to forget about repository fluff:
$ git update-index --assumed-unchanged -- README # …
```