Version control repo for my configuration files.
- Switching to a new development environment is much faster
- Test configurations without worrying about undoing the changes
- Prevent data loss
- git init --bare $HOME/.cfg
- alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
- config config --local status.showUntrackedFiles no
- config remote add <remote>
- Execute the code found in the setup_local_configs script
- In order for the .bash_profile to affect the parent shell, execute the script like so
$ . ./<script name> <repo URL>
- To clone a specific branch, execute
$ . ./<script name> <repo URL> <branch name>
- In order for the .bash_profile to affect the parent shell, execute the script like so