🐶 Renaming git-dotfiles to gitdotfiles

This commit is contained in:
Jan Andrle 2024-02-18 11:57:39 +01:00
parent f8a639f41d
commit 4db027f577
Signed by: jaandrle
GPG Key ID: B3A25AED155AFFAB

View File

@ -6,9 +6,9 @@ see for example [How to Store Dotfiles - A Bare Git Repository \| Atlassian Git
1. install git 1. install git
1. `cd ~` 1. `cd ~`
1. `git clone --bare --depth 1 --recurse-submodules --shallow-submodules git@jaandrle.cz:jaandrle/dotfiles.git ~/.dotfiles` 1. `git clone --bare --depth 1 --recurse-submodules --shallow-submodules git@jaandrle.cz:jaandrle/dotfiles.git ~/.dotfiles`
1. `alias git-dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'` 1. `alias gitdotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'`
1. `git-dotfiles config --local status.showUntrackedFiles no` 1. `gitdotfiles config --local status.showUntrackedFiles no`
1. you may also need to use 1. you may also need to use
1. `git-dotfiles reset` (`git-dotfiles reset --hard HEAD`) 1. `gitdotfiles reset` (`git-dotfiles reset --hard HEAD`)
1. `git-dotfiles checkout -f` 1. `gitdotfiles checkout -f`
1. `git-dotfiles submodule update --init --recursive` 1. `gitdotfiles submodule update --init --recursive`