]> git.quilime.com - cfg.git/commitdiff
Readme
authorGabriel Dunne <gdunne@quilime.com>
Wed, 9 Dec 2020 20:29:15 +0000 (12:29 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Wed, 9 Dec 2020 20:29:15 +0000 (12:29 -0800)
.cfg-README

index 0f2efbaf908a4de98f64b82d6178bd78b182fc49..ba6c7398f4bc27d717475c6b43513c42120544cc 100644 (file)
@@ -2,19 +2,22 @@ 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:
 1. git init $HOME/.cfg
-2. alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME'
-3. echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --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
+2. alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME'
+3. echo "alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME'" >> $HOME/.zsh/aliases
+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
 
 Installing:
 1. echo ".cfg" >> .gitignore
 2. git clone <remote-git-repo-url> $HOME/.cfg
-3. alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git --work-tree=$HOME'
-4. config config --local status.showUntrackedFiles no
-5. config checkout
+3. alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/.git --work-tree=$HOME'
+4. cfg config --local status.showUntrackedFiles no
+5. cfg checkout
+
+
 
 
 Using a bare repository like @durdn's tutorial