-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ethan Ho edited this page Jul 21, 2020
·
1 revision
This repository contains Ethan's dotfiles on MacBook Pro and TACC HPC systems.
Installation instructions are based of of this Atlassian guide.
- Create the
config
alias:
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
-
(Optional): Add the bare repo to your
.gitignore
if$HOME
is already in a repo:
echo ".cfg" >> .gitignore
- Clone this repo
git clone --bare https://github.com/ethan-n-ho/dotfiles.git $HOME/.cfg
- 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
- Hide untracked files
config config --local status.showUntrackedFiles no