summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2022-09-30 12:13:54 +0200
committerMarc Vertes <mvertes@free.fr>2022-09-30 12:13:54 +0200
commit06ba4aa1a24be8fbb3a16f9e509f1dad00208df4 (patch)
tree2adbe3ed47391af96fb79e0bd9227d2db715e931 /README.md
parentabaaf4b6a33c497f233fd797272ba36152eb6961 (diff)
update
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..36af6d0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,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