shorten dotfiles command to interact with repo to dot

This commit is contained in:
Marty Oehme 2019-03-12 14:55:08 +01:00
parent 456859adfa
commit ed71470287

View file

@ -1,5 +1,5 @@
# enables git management through dotfiles command
alias dotfiles='/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty'
# 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.
@ -16,8 +16,8 @@ alias dotfiles='/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/
# 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
#
#dotfiles update-index --no-assume-unchanged README.md
#dotfiles update-index --assume-unchanged README.md
#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)
#dotfiles config status.showUntrackedFiles no
#dot config status.showUntrackedFiles no