From 91a693f08a67189e43f30e0bb3f43f4e2e312f18 Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Sat, 2 Jan 2021 12:47:03 -0800 Subject: [PATCH] Removing extras --- .cfg-README | 35 ----------------------------------- .gitmodules | 3 --- 2 files changed, 38 deletions(-) delete mode 100644 .cfg-README delete mode 100644 .gitmodules diff --git a/.cfg-README b/.cfg-README deleted file mode 100644 index ba6c739..0000000 --- a/.cfg-README +++ /dev/null @@ -1,35 +0,0 @@ -Note that the only two differences between using a bare and non-bare repository are: - -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 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 $HOME/.cfg -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 -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 - -Installing: -1. echo ".cfg" >> .gitignore -2. git clone --bare $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 diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e0a95f2..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule ".emacs.d/plugins/neotree"] - path = .emacs.d/plugins/neotree - url = https://github.com/jaypei/emacs-neotree -- 2.34.1