aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
```