Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitmodules has extra trailing slashes that break "git submodule update --init" #56

Open
dkegel-fastly opened this issue May 21, 2022 · 0 comments

Comments

@dkegel-fastly
Copy link

Here's the symptom:

$ git clone https://github.com/polydawn/refmt
$ cd refmt
$ git submodule update --init
...
fatal: clone of 'https://github.com/go-yaml/yaml/' into submodule path '/Users/dkegel/src/refmt/.gopath/src/github.com/go-yaml/yaml' failed
fatal: clone of 'https://github.com/urfave/cli/' into submodule path '/Users/dkegel/src/refmt/.gopath/src/github.com/urfave/cli' failed

The fix is to remove the trailing slashes on those two lines in .gitmodules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant