OpenWatch / FFmpegWrapper

A lightweight Objective-C wrapper for some FFmpeg libav functions
Other
179 stars 54 forks source link

Documentation error for adding submodule? #3

Open twelve17 opened 9 years ago

twelve17 commented 9 years ago

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 commented 7 years ago

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

twelve17 commented 7 years ago

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