I don't have a lot of experience with submodules, but I think we have too 
little information to say what's wrong anyhow. It looks like the remote 
you're trying to push to is a non-bare repository, in other words: not 
correctly configured.

You need to show us the config (git config -l) of both the main repository, 
and the submodule. Then you need to state which commands you performed in 
which directory to get the error message there.

Also make sure you read http://book.git-scm.com/5_submodules.html - and 
maybe try to do something like the simple example here: 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to