fatal: not a git repository:
InvisibleRasta opened this issue · comments
InvisibleRasta commented
./install
fatal: not a git repository: /home/asd/.dotfiles/dotbot/../.git/modules/dotbot
I been getting this error lately and i am not sure why.
# install.conf.yaml
- defaults:
link:
relink: true
- clean: ['~']
- link:
~/.vimrc: vimrc
~/.vim_runtime: vim_runtime
~/.zshrc: zshrc
~/.nanorc: nanorc
~/.config/awesome: config/awesome
~/.local/bin: local/bin
~/.config/nvim: config/nvim
~/.config/ranger: config/ranger
~/.config/alacritty: config/alacritty
~/.config/geany: config/geany
~/.config/zsh: config/zsh
~/.gitfiles: gitconfig
ls .dotfiles/
.git dotbot vim_runtime gitconfig install nanorc upload_github.sh zshrc
config local .gitmodules init_dotfiles.sh install.conf.yaml README.md vimrc
Anish Athalye commented
Your config is not relevant here, it is failing before it gets to the point where Dotbot runs. Have you moved any files around recently?
Can you share the output of the following commands:
$ ls .git/modules/dotbot
$ git -C /home/asd/.dotfiles/dotbot status
$ cat .gitmodules
InvisibleRasta commented
Recloning the repo fixed the problem
Anish Athalye commented
Excellent, glad you got it working!