- Place homeSync.sh and homeSync.plist in your home dir
cd ~
git init
git remote add origin <https://your/git/repo.git>
cp homeSync.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homeSync.plist
Recommended to place the following .gitignore in ~/ as well:
/*
!.bashrc
!.bash_history
!.gitignore
# Depending on your shell usage etc
!.zshrc
!.zsh_history
!homeSync.plist
!homeSync.sh
/*/