summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-08-01 17:14:46 +0200
committerxengineering <mail2xengineering@protonmail.com>2020-08-01 17:14:46 +0200
commitc361003144620fb5ce619b0e7cd847c5c8e6eb5c (patch)
tree1d89009e0b4d5f8314bfe527ef00cff9ae27cf86 /README.md
parentb5e1f5397bd835f5c73f6d9b5739dc714c697134 (diff)
downloaddotfiles-c361003144620fb5ce619b0e7cd847c5c8e6eb5c.tar
dotfiles-c361003144620fb5ce619b0e7cd847c5c8e6eb5c.tar.zst
dotfiles-c361003144620fb5ce619b0e7cd847c5c8e6eb5c.zip
Add Installation Guide in README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 63bb8f1..4d0e959 100644
--- a/README.md
+++ b/README.md
@@ -3,3 +3,15 @@
A Git repository to track my personal GNU/Linux dotfiles.
+## Usage
+
+Install these dotfiles to the current user on a new system like this:
+
+```bash
+ cd ~ # switch to home folder
+ git clone --bare https://github.com/xengineering/dotfiles.git # clone the bare repository
+ git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME checkout # checkout dotfiles to your home
+ # (append '-f' to overwrite local ones)
+ logout # you have to log in again to make the changes take effect
+```
+