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

Noob question regarding git push

From
HJHarry Johnson <hjohnson@viasic.com>
Date
Jan 19, 2011, 22:30 UTC
Message-ID
<AANLkTi=X8PURGSX5ODHpXACUWuA0oioTkeNEmRVnkx1D@mail.gmail.com>
Hi All,

So I have a central build repo from which we perform nightly builds. Then my development repo is a clone of the build repo. The idea is that after I am convinced that my changes in my development repo are stable enough I push them to the build repo using git push.

This seems to work and I can see my changes when doing a git log from the build repo. However, the actual working files have not been updated nor can I figure out any way to get them updated. For instance I have tried deleting one of the files that should be changed and then doing a git checkout <file>. The changes are still not present. I have tried doing a git reset --hard HEAD. The file still doesn't contain the changes. I have even tried checking out a different branch in the build repo and then re-checking out the master that should have those changes. Still nothing.

What's the proper technique for making sure you see the actual changes that were pushed to a repo?

This is debian lenny with git version 1.5.6.5.

TIA, -Harry

Next: Sverre Rabbelier
Message 1 of 5 in “Noob question regarding git push”
  1. Harry JohnsonJan 19, 2011
  2. Sverre RabbelierJan 19, 2011
  3. Harry JohnsonJan 19, 2011
  4. Alex BudovskiJan 20, 2011
  5. Junio C HamanoJan 19, 2011

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.