]> git.quilime.com - cfg.git/commitdiff
Update README.md
authorquilime <gdunne@quilime.com>
Fri, 11 Dec 2020 23:19:23 +0000 (15:19 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Dec 2020 23:19:23 +0000 (15:19 -0800)
README.md

index cb2dbd39966a8848e09d4ac4f18c9f835ae7e6a1..d840b8b3402cf5d5f8e7fa5bb52e21a319cc15cb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Note that the only two differences between using a bare and non-bare repository
 presence of the  --bare flag when initialising and cloning the repo
 the path to the Git directory,  $HOME/.cfg/ for bare and $HOME/.cfg/.git/ for non-bare.
 
-# Storing your dotfiles using a non-bare, default repository:
+### Using a non-bare repository:
 
 1. git init $HOME/.cfg
 2. alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME'
@@ -14,7 +14,7 @@ the path to the Git directory,  $HOME/.cfg/ for bare and $HOME/.cfg/.git/ for no
 4. cfg config --local status.showUntrackedFiles no
 5. cfg add .vimrc + config commit -m "add .vimrc" + Set up a remote repository on GitHub or your Git server of choice + config push
 
-# Install
+### Install
 
 1. echo ".cfg" >> .gitignore
 2. git clone <remote-git-repo-url> $HOME/.cfg
@@ -22,24 +22,25 @@ the path to the Git directory,  $HOME/.cfg/ for bare and $HOME/.cfg/.git/ for no
 4. cfg config --local status.showUntrackedFiles no
 5. cfg checkout
 
-# Using a bare repository like @durdn's tutorial
+### Using a bare repository
 
 1. git init --bare $HOME/.cfg
 2. alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
-3. echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.zsh/aliases
-4. config config --local status.showUntrackedFiles no
-5. config add .vimrc + config commit -m "add .vimrc" + set up a remote repository on GitHub or your Git server of choice + config push
+3. echo "alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.zsh/aliases
+4. cfg config --local status.showUntrackedFiles no
+5. cfg add .vimrc + cfg commit -m "add .vimrc" + set up a remote repository on GitHub or your Git server of choice + cfg push
 
-# Install
+### Install
 
 1. echo ".cfg" >> .gitignore
 2. git clone --bare <remote-git-repo-url> $HOME/.cfg
-3. alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
-4. config config --local status.showUntrackedFiles no
-5. config checkout
+3. alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
+4. cfg config --local status.showUntrackedFiles no
+5. cfg checkout
+
 
+### References, Links
 
-# References, Links
 - https://www.ackama.com/blog/posts/the-best-way-to-store-your-dotfiles-a-bare-git-repository-explained
 - https://www.atlassian.com/git/tutorials/dotfiles
 - https://bitbucket.org/durdn/cfg/src/master/