Snaipe / dot-git

Managing your dotfiles the Git Way™
44 stars 26 forks source link

Failed to install #1

Closed yujunz closed 7 years ago

yujunz commented 7 years ago

Got an error in the following step

➜  ~ dot checkout -f --
fatal: Not a git repository: '/Users/yujunz/.config/dotgit/repo'

I think it is probably because it is a bare repo and repo is not available.

Snaipe commented 7 years ago

The profile management added a symlink to refer to the "current" profile, which exists at ~/.config/dotgit/repo. It normally is versioned, but since we're creating it with the checkout -f --, the command is broken until then.

I obviously forgot to take that into account in the installation instructions.

To fix this, just call ln -s . ~/.config/dotgit/repo, and resume at the checkout step.

Snaipe commented 7 years ago

Fixed by 15173e7.