From a26c5c9a40ecb329b1a49373599627598dbcfa7b Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Thu, 10 Jun 2021 13:55:21 +0100
Subject: [PATCH] Add installation instructions

---
 README.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/README.md b/README.md
index c531a0a9..b23e27bb 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,28 @@
 
 My personal dotfiles, originally for macOS only but currently being adapted for use on Linux based systems (Ubuntu and Pop!_OS in particular) where needed.
 
+## Installation
+
+```
+git clone --bare git@github.com:opdavies/dotfiles.git $HOME/dotfiles
+git --git-dir $HOME/dotfiles --work-tree $HOME checkout
+git --git-dir $HOME/dotfiles --work-tree $HOME config status.showUntrackedFiles no
+```
+
+### Adding a `config` alias
+
+You can also set a `config` alias as a wrapper for the Git command, as described within [Atlassian's blog post](https://www.atlassian.com/git/tutorials/dotfiles):
+
+    alias config="git --git-dir $HOME/dotfiles --work-tree $HOME"
+
+### Adding new files
+
+```
+config add /path/to/file
+config commit -m "Some commit message"
+config push
+```
+
 ## Inspiration
 
 - [Chris Toomey](https://github.com/christoomey/dotfiles)