git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: salmanmanekia <salmanmanekia@gmail.com>
To: git@vger.kernel.org
Subject: Git Submodule would not work. The push does not work
Date: Thu, 28 Jun 2012 15:54:15 -0700 (PDT)	[thread overview]
Message-ID: <1340924055050-7562323.post@n2.nabble.com> (raw)

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.

             reply	other threads:[~2012-06-28 22:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28 22:54 salmanmanekia [this message]
2012-06-29  3:36 ` Git Submodule would not work. The push does not work Carlos Martín Nieto
2012-06-29  7:18   ` salmanmanekia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340924055050-7562323.post@n2.nabble.com \
    --to=salmanmanekia@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).