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

Re: push fail

From
SWshawn wilson <ag4ve.us@gmail.com>
Date
Mar 18, 2014, 01:58 UTC
Message-ID
<CAH_OBiegRbR6MXx2awuxpOkagLcPG-w4vE0zh78Z+SdUK_7vAg@mail.gmail.com>
In-Reply-To
<loom.20140317T142900-203@post.gmane.org>
Thanks.
Yeah, I should've thought to do a pull....
On Mon, Mar 17, 2014 at 9:34 AM, Dragos Foianu <dragos.foianu@gmail.com> wrote:
Show 25 quoted lines
> shawn wilson <ag4ve.us <at> gmail.com> writes:
>
>>
>> How do I get more info here (and hopefully resolve this)?
>>
>>  % git push
>> To ssh://server/foo/repo.git
>>  ! [rejected]        test -> test (non-fast-forward)
>> error: failed to push some refs to 'ssh://server/foo/repo.git'
>>
>
> "non-fast-forward" means that someone else pushed to branch test before you
> did and your push would end up overwriting their changes. Make sure you
> merge your local branch with the remote branch:
>
> git pull origin test
>
> It might also be a result of local destructive changes made by "git rebase".
> If you're absolutely certain you will not mess up the remote branch you can
> add the "--force" parameter when you push.
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Dragos FoianuNext: Matthieu Moy
Message 3 of 4 in “push fail”
  1. shawn wilsonMar 17, 2014
  2. Dragos FoianuMar 17, 2014
  3. shawn wilsonMar 18, 2014
  4. Matthieu MoyMar 17, 2014

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.