Automattic / vip-go-compatibility-scanner

Scan for compatibility problems in repository code using PHPCS with any standard, report as GitHub issues.
5 stars 1 forks source link

The git submodules init command throws an error #11

Closed shantanu2704 closed 4 years ago

shantanu2704 commented 4 years ago

Source :https://github.com/Automattic/vip-go-compatibility-scanner/blob/master/README.md#usage-for-a-single-repository

After the git repo is cloned, we need to cd into the newly created directory to be able to run

git submodule init && \
git submodule update --recursive && \

Otherwise we get an error:

fatal: not a git repository (or any of the parent directories): .git
gudmdharalds commented 4 years ago

Thank you for pointing this out. This is my mistake.

I will fix this.

gudmdharalds commented 4 years ago

Fixed in ea341fc.