Adding a Submodule Correctly
Spot the mistake when adding a Git submodule and how it affects .gitmodules.
Codebash
# Goal: add the logger library as a submodule under libs/logger
git submodule add libs/logger https://github.com/acme/logger.git
git commit -m "Add logger submodule"
# Expected .gitmodules entry:
# [submodule "libs/logger"]
# path = libs/logger
# url = https://github.com/acme/logger.git
What is the bug in this submodule setup?