diff options
author | JustineSmithies <justine@smithies.me.uk> | 2023-05-13 17:07:35 +0100 |
---|---|---|
committer | JustineSmithies <justine@smithies.me.uk> | 2023-05-13 17:07:35 +0100 |
commit | 6ee958e48df266272284a53ab51078ad16700fc0 (patch) | |
tree | 767396da7fdecca635cf629245c70e84ba3b505a /posts | |
parent | 2046150e142409792b08302c93bb62a8e7e4346c (diff) |
Updated dotfiles.md
Diffstat (limited to 'posts')
-rw-r--r-- | posts/dotfiles.md | 3 |
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 ``` |