aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustineSmithies <justine@smithies.me.uk>2023-05-13 17:07:35 +0100
committerJustineSmithies <justine@smithies.me.uk>2023-05-13 17:07:35 +0100
commit6ee958e48df266272284a53ab51078ad16700fc0 (patch)
tree767396da7fdecca635cf629245c70e84ba3b505a
parent2046150e142409792b08302c93bb62a8e7e4346c (diff)
Updated dotfiles.md
-rw-r--r--posts/dotfiles.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/posts/dotfiles.md b/posts/dotfiles.md
index 6bd59c7..9bb84f8 100644
--- a/posts/dotfiles.md
+++ b/posts/dotfiles.md
@@ -6,8 +6,11 @@ I use a bare repository to sync my dotfiles and set it up as follows:
git init --bare $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
+
+# The add and commit below are just an example of adding a file to the repo
config add .config/nvim/init.lua
config commit -m "Added init.lua"
+
git remote add origin REMOTE_URL
git push origin master
```