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

Re: How to push changes from clone back to master

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 9, 2010, 06:49 UTC
Message-ID
<7vhbqvdb83.fsf@alter.siamese.dyndns.org>
In-Reply-To
<2394EBAE-BA99-4817-93E3-D5441D6DA46B@gmail.com>
Simon Chu <simonchu.web@gmail.com> writes:
Show 9 quoted lines
> On Jan 8, 2010, at 5:00 PM, Tomas Carnecky <tom@dbservice.com> wrote:
>
>> If you asked that question in the official IRC channel, the answer
>> would be 'faq non-bare', which would cause the bot to send you a
>> link to this entry in the Git FAQ:
>> http://git.or.cz/gitwiki/GitFaq#Whywon.27tIseechangesintheremoterepoafter.22gitpush.22.3F
>
> How do I push code to master then, do I do got reset - hard on the
> master??
(Please do not top post).

If you asked that question on the IRC, the answer would be 'faq mothership-satellite', which would cause the bot to send you a link to this entry in the Git FAQ:

    push is reverse of fetch. See
    http://git.or.cz/gitwiki/GitFaq#mothership-satellite

This link is recommended by the entry Tomas gave you, so I am having this sad feeling that you wouldn't read it either... Sigh.

Previous: Simon Chu
Message 4 of 4 in “How to push changes from clone back to master”
  1. Simon CJan 8, 2010
  2. Tomas CarneckyJan 9, 2010
  3. Simon ChuJan 9, 2010
  4. Junio C HamanoJan 9, 2010

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.