Skip to content
Ethan Ho edited this page Jul 21, 2020 · 1 revision

This repository contains Ethan's dotfiles on MacBook Pro and TACC HPC systems.

Installation

Installation instructions are based of of this Atlassian guide.

  1. Create the config alias:
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  1. (Optional): Add the bare repo to your .gitignore if $HOME is already in a repo:
echo ".cfg" >> .gitignore
  1. Clone this repo
git clone --bare https://github.com/ethan-n-ho/dotfiles.git $HOME/.cfg
  1. Checkout the repository branch. Git might complain about unsaved changes; commit these files to a new branch or save to a backup folder.
config checkout
  1. Hide untracked files
config config --local status.showUntrackedFiles no
Clone this wiki locally