dotfiles
Steps:
To install in current setup:
git clone [email protected]:nachopitt/dotfiles.git $HOME/.cfgTo create a "config" alias to be used instead of the git command for all git related operations:
alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME'function config { git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME @args }To see changes in the working tree
config statusTo avoid showing up the untracked files when performing operations such as "config status"
config config --local status.showUntrackedFiles noTo pull new changes:
config pullTo see differences:
config diffTo add changes to the staging area:
config add files...To commit changes:
config commitTo push changes:
config push