From df07a8e8d86657ad8dd43c8229f2e332cfe91bd3 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 30 Dec 2019 10:27:20 +0100 Subject: [PATCH] Remove dot command from shell dot command was only useful for working quickly with the bare repository, since it decoupled git's working tree. Now that we have a normal repository and are using stow the command seems no longer necessary. --- .../rc.d/dotfiles-version-control-commands.sh | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 shell/.config/shell/rc.d/dotfiles-version-control-commands.sh diff --git a/shell/.config/shell/rc.d/dotfiles-version-control-commands.sh b/shell/.config/shell/rc.d/dotfiles-version-control-commands.sh deleted file mode 100644 index a78aa3d..0000000 --- a/shell/.config/shell/rc.d/dotfiles-version-control-commands.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# enables git management through dot command -alias dot='/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty' - -# The following commands are run on your git repo if you installed through the script -# You can invoke them manually, but it's not recommended to keep them active in here. -# Otherwise each time a shell starts up, *whatever directory you are in*, the commands -# will be re-run. -# -## Make git assume the readme is not changing (essentially ignore it). -# -# This means you can safely remove the README.md file from your home dir -# without git trying to delete it from the repository. -# If you WANT to make changes to the README.md, you will have to make git -# watch it again with the commented out command -# -# Read more: https://stackoverflow.com/questions/4308610/how-to-ignore-certain-files-in-git -# and: https://stackoverflow.com/questions/653454/how-do-you-make-git-ignore-files-without-using-gitignore -# -#dot update-index --no-assume-unchanged README.md -#dot update-index --assume-unchanged README.md - -## Make git not show untracked files (i.e. ALL other files in your home dir) -#dot config status.showUntrackedFiles no