Skip to content

anthonyfuentes/dotfiles

Repository files navigation

dotfiles

Version control repo for my configuration files.

Why

  • Switching to a new development environment is much faster
  • Test configurations without worrying about undoing the changes
  • Prevent data loss

Guide

Quick Setup

  1. git init --bare $HOME/.cfg
  2. alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  3. config config --local status.showUntrackedFiles no
  4. config remote add <remote>

Setup Script

  1. Execute the code found in the setup_local_configs script
    1. In order for the .bash_profile to affect the parent shell, execute the script like so $ . ./<script name> <repo URL>
    2. To clone a specific branch, execute $ . ./<script name> <repo URL> <branch name>

About

Copies of my configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published