Error message: read /data/gitrepos/REPONAME: is a directory
lcreed opened this issue · comments
Another error on first time install:
gut init
Do you want to help us improve gut by sending anonymous usage data? (Y/n): y
✔ Create a new profile
? Which platform would you like to use ? GitHub
⚠ None of your data will leave your computer
To authenticate with GitHub, please visit the following URL and enter 9B2F-A0B0
https://github.com/login/device
\ I've done my job. Now I'm waiting for you to authenticate with GitHub... 🥱- I've done my job. Now I'm waiting for you to authenticate with GitHub... 🥱I've successfully authenticated you with GitHub 🎉I've successfully got your username from GitHub 🎉I've successfully got your email(s) from GitHub 🎉How would you like to call this profile? I'm sorry but I can't create a profile with a empty name 😓How would you like to call this profile? I'm sorry but I can't create a profile with a empty name 😓How would you like to call this profile? Gutted
I've successfully created your profile 😎warning: adding embedded git repository: FilterBadRecruiters
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> FilterBadRecruiters
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached FilterBadRecruiters
hint:
hint: See "git help submodule" for more information.
warning: adding embedded git repository: MyPresentations
warning: adding embedded git repository: WASAuto
warning: adding embedded git repository: eMailSpoofCheck
warning: adding embedded git repository: gmail-add-on-codelab
warning: adding embedded git repository: originalFBR
Oups, something went wrong while creating the first commit
Error message: read /data/gitrepos/FilterBadRecruiters: is a directory
If this error persists, please open an issue on GitHub: https://github.com/julien040/gut/issues/new
Edit: Add code format
Hello, I'm sorry it isn't working.
gut
has a lot of issues with Git submodules.
Can you confirm that you are launching gut
from a nested repository?
All my repos are on a mount in the /data/gitrepos path. I was running the commands from that path. My repos are all cloned in that path.
/data/gitrepos
[/data/gitrepos:]ll
total 16
drwxrwxrwx 1 root root 4096 Mar 20 12:27 eMailSpoofCheck
I'm sorry, but gut
won't work for that use case.
I'll try to look into it, but it seems quite complex.
For the moment, run gut init
from a directory that does not contain any nested git repositories.