git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git Submodule would not work. The push does not work

From
salmanmanekia <salmanmanekia@gmail.com>
Date
Jun 28, 2012, 22:54 UTC
Message-ID
<1340924055050-7562323.post@n2.nabble.com>

I have been trying to create a submodule in git After issuing the git submodule init i see the folders for the submodule. After that i add, commit and try to push those files in the master repo but it would not allow me to do soo

Salman@PC_HOME ~/git/breakit-web-app (master) $ git push origin master error: refs/heads/master does not point to a valid object! Counting objects: 4, done. Delta compression using up to 2 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 421 bytes, done. Total 3 (delta 1), reused 0 (delta 0) remote: bb/acl: salmanmanekia is allowed. accepted payload. error: Ref refs/heads/master is at 6a47a0fd398610a75bdab8976f842dc0efd89f86 but expected 00000000000000000000000000000000000000000 remote: error: failed to lock refs/heads/master

To ssh://git@bitbucket.org/majuri/breakit-web-app.git ! [remote rejected] master -> master (failed to lock) error: failed to push some refs to 'ssh://git@bitbucket.org/majuri/breakit-web-app.git'

-- View this message in context: http://git.661346.n2.nabble.com/Git-Submodule-would-not-work-The-push-does-not-work-tp7562323.html Sent from the git mailing list archive at Nabble.com.

Next: Carlos Martín Nieto
Message 1 of 3 in “Git Submodule would not work. The push does not work”
  1. salmanmanekiaJun 28, 2012
  2. Carlos Martín NietoJun 29, 2012
  3. salmanmanekiaJun 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.