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

Git-Automerge

From
NSNico Schümann <nico.schuemann@googlemail.com>
Date
Apr 4, 2010, 16:47 UTC
Message-ID
<w2j1f05046e1004040947k3b812063ndbc2f8da3496effb@mail.gmail.com>
Dear Git people,

after having been convinced by Linus Torvald's talk on git, I've been using it for some days now.

But there is one thing that just does not get into my mind, or maybe I am just thinking too complicated.

What I have is a productive system, let's call it MASTER and my development machine, call it ME.

Now I made a copy of the MASTER tree by $ git pull me@master:/path/to/stuff

And did some changes: $ nano -w blablabla

Then I commited: $ git commit

Everything fine until now.

What I want now are the changes to apper on the MASTER server, so I say $ git push

But the changes do not appear on the master server. I have to type

# git reset --hard      or # git checkout -f in order to make the changes appear. Since I do not want to login onto that MASTER machine every time, what command do I miss on my developer machine?

Thanks in advantage, Nico

Next: Matthieu Moy
Message 1 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.