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

Documentation error for adding submodule? #3

Open
twelve17 opened this issue Oct 2, 2014 · 2 comments
Open

Documentation error for adding submodule? #3

twelve17 opened this issue Oct 2, 2014 · 2 comments

Comments

@twelve17
Copy link

twelve17 commented Oct 2, 2014

I attempted to add the submodule per the read me:

git submodule add Submodules/FFmpegWrapper https://github.com/OpenWatch/FFmpegWrapper.git

However, that yielded this error:

repo URL: 'Submodules/FFmpegWrapper' must be absolute or begin with ./|../

Instead, I was able to do:

  cd <mymodule_dir>
  mkdir Submodules
  git submodule add https://github.com/OpenWatch/FFmpegWrapper.git Submodules/FFmpegWrapper

I'm using git version 1.8.1.

@mmehdi
Copy link

mmehdi commented Jul 19, 2017

you need to write like this:
git submodule add https://github.com/OpenWatch/FFmpegWrapper.git Submodules/FFmpegWrapper

@twelve17
Copy link
Author

@mmehdi yep, that is what I ended up doing (not sure if you saw, I had noted that in my OP)

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

2 participants