I’m trying to add a submodule
https://bitbucket.org/hski/issuestats-public/wiki/Home
With the following command
git submodule add git@bitbucket.org:hski/issuestats-public.git issuestats
I’m getting the following error message
fatal: Not a git repository (or any of the parent directories): .git
The error message is referring to your working copy – not the remote.
You need to add submodules to a git repo
If you just want to get the code so you can use it, you need to clone the repo: