git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: pbGit <pblakeley@gmail.com>
To: git@vger.kernel.org
Subject: Re: Problems pushing???
Date: Sun, 8 Jul 2012 08:43:36 -0700 (PDT)	[thread overview]
Message-ID: <1341762216101-7562707.post@n2.nabble.com> (raw)
In-Reply-To: <1341759063006-7562705.post@n2.nabble.com>

Just tried starting again on my local machine because when I tried pushing,
git said that it local was also set to bare init.  When I looked this was
the case.  Silly me.  

So I deleted on my local and added a single file and when I try pushing this
I get the following:
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'paul@localhost:/Users/paul/<prject>'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

When I try and pull I then get the following:
fatal: No remote repository specified.  Please, specify either a URL or a
remote name from which new revisions should be fetched.

I then addded my repo with the following command, but  this is the wrong
syntax!!!
git pull --repo=<project>

What the hell am I doing wrong???

--
View this message in context: http://git.661346.n2.nabble.com/Problems-pushing-tp7562695p7562707.html
Sent from the git mailing list archive at Nabble.com.

  reply	other threads:[~2012-07-08 15:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08  9:12 Problems pushing??? pbGit
2012-07-08 11:02 ` Konstantin Khomoutov
2012-07-08 11:52 ` Holger Hellmuth
2012-07-08 12:21   ` Konstantin Khomoutov
2012-07-08 14:51   ` pbGit
2012-07-08 15:43     ` pbGit [this message]
2012-07-08 21:20       ` Holger Hellmuth
2012-07-10  6:59         ` pbGit

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=1341762216101-7562707.post@n2.nabble.com \
    --to=pblakeley@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).