From 0eae900e5f6c56a4f8ad02d523ed3dfe16578321 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 1 Aug 2020 17:14:46 +0200 Subject: Add Installation Guide in README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') 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 +``` + -- cgit v1.2.3-70-g09d2