shorten dotfiles command to interact with repo to dot
This commit is contained in:
parent
456859adfa
commit
ed71470287
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue