Updated guide

This commit is contained in:
Randy Jordan 2024-11-03 14:45:15 -06:00
parent d96fb517c6
commit ecef07ec81
Signed by: Randy-Jordan
GPG Key ID: D57FA29E3B54663E

View File

@ -27,7 +27,7 @@ If you're starting out as root, do not login as user until you've altered /etc/x
Once complete, assign the appropriate privileges, and login as the user. Run the command: Once complete, assign the appropriate privileges, and login as the user. Run the command:
`git init --bare $HOME/.dot` To create our config folder.<br> `git init --bare $HOME/.dot` To create our config folder.<br>
`alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME' To set an alias to interact with our config.<br> `alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME` To set an alias to interact with our config.<br>
`config config --local status.showUntrackedFiles no` So every file in $HOME is not tracked, just the ones we add.<br> `config config --local status.showUntrackedFiles no` So every file in $HOME is not tracked, just the ones we add.<br>
`echo "alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME'" >> $HOME/.bashrc` Adds the alias to our bashrc. `echo "alias config='/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME'" >> $HOME/.bashrc` Adds the alias to our bashrc.