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

Re: Git-Automerge

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Apr 4, 2010, 17:00 UTC
Message-ID
<z2sf3271551004041000yaba616fbu20701cd505c5dbf7@mail.gmail.com>
In-Reply-To
<w2j1f05046e1004040947k3b812063ndbc2f8da3496effb@mail.gmail.com>
Hi,

On Sun, Apr 4, 2010 at 10:17 PM, Nico Schümann <nico.schuemann@googlemail.com> wrote:

Show 6 quoted lines
> $ git push
>
> But the changes do not appear on the master server. I have to type
>
> # git reset --hard      or
> # git checkout -f

git-push only propagates history and updates refs. It doesn't touch files in the working tree. I suspect you're pushing to a non-bare remote. Please see --bare option in git-init (1) and this FAQ [0] on the Git Wiki for more.

[0] https://git.wiki.kernel.org/index.php/GitFaq#Why_won.27t_I_see_changes_in_the_remote_repo_after_.22git_push.22.3F
-- Ram
Previous: Matthieu Moy
Message 3 of 3 in “Git-Automerge”
  1. Nico SchümannApr 4, 2010
  2. Matthieu MoyApr 4, 2010
  3. Ramkumar RamachandraApr 4, 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.