The following worked for me on an OSX mavericks 1.9.2 machine (after I got my github ssh clone stuff working) I did this:
git clone git@github.com:andxyz/sublime-text-2-configs.git ~/temp-sublime-text-2-configs
mv ~/temp-sublime-text-2-configs/.git ~/Library/Application\ Support/Sublime\ Text\ 2/.git
rm -rf ~/temp-sublime-text-2-configs
cd ~/Library/Application\ Support/Sublime\ Text\ 2/
git checkout --force master
The reasoning being that we can move the hidden .git
folder from our temp-repo into the existing folder. Then move to that folder and force a git checkout
with --force
.