The worst one I\'ve been caught by was with git submodules. I had a submodule for a project on github. The project was unmaintained, and I wanted to submit patches, but co
The usual trailing slash when adding a submodule:
When you use git add on a submodule, make sure you don’t have a tailing slash.
> git add local/path -- adds the submodule > git add local/path/ -- adds all the files in the submodule directly into your repository, big no-no