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

Re: Problems pushing???

From
PpbGit <pblakeley@gmail.com>
Date
Jul 8, 2012, 15:43 UTC
Message-ID
<1341762216101-7562707.post@n2.nabble.com>
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.

Previous: pbGitNext: Holger Hellmuth
Message 6 of 8 in “Problems pushing???”
  1. pbGitJul 8, 2012
  2. Konstantin KhomoutovJul 8, 2012
  3. Holger HellmuthJul 8, 2012
  4. Konstantin KhomoutovJul 8, 2012
  5. pbGitJul 8, 2012
  6. pbGitJul 8, 2012
  7. Holger HellmuthJul 8, 2012
  8. pbGitJul 10, 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.