andsens / homeshick

git dotfiles synchronizer written in bash
MIT License
2.11k stars 146 forks source link

Cloning takes forever for simple repos #191

Closed Abhijay closed 5 years ago

Abhijay commented 5 years ago

I have a castle that only just contains my .vimrc, but when I homeshick clone it takes upwards of 5 minutes to complete the command. As this should basically amount to a git clone and a symlink, I can't understand what takes so long? Both of those commands run virtually instantaneously on my machine.

andsens commented 5 years ago

That does indeed sound weird. Try running the clone command using this:

bash -x ~/.homesick/repos/homeshick/bin/homeshick clone git@github.com:Abhijay/REPONAME

That should output every command homeshick runs (excluding the ones run by subshells). You won't get any timing information, but you should be able to see which command hangs.