From 6ee958e48df266272284a53ab51078ad16700fc0 Mon Sep 17 00:00:00 2001 From: JustineSmithies Date: Sat, 13 May 2023 17:07:35 +0100 Subject: Updated dotfiles.md --- posts/dotfiles.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'posts') 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 ``` -- cgit v1.2.3