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

Re: Newbie Query

From
Tomas Carnecky <tom@dbservice.com>
Date
Jan 20, 2009, 20:00 UTC
Message-ID
<49762D5F.2050702@dbservice.com>
In-Reply-To
<20090120191952.GA25322@uts.thewillards.local>
On 01/20/2009 08:19 PM, Chris Willard wrote:
Show 17 quoted lines
> Hello All,
>
> I am having a go at using git and need a bit of help.
>
> I have git installed on my laptop and on my pc. I created some files
> on the pc then used git close via ssh to put them on my laptop - all
> OK so far!
>
> I then modified the files, added them, commited the changes and then
> used git push to put them on the PC - still no problems.
>
> Both systems show the commits but the PC does not have the latest
> version of the files. Git status on the PC shows the file as changed
> but commiting give an error when pushing from the laptop.
>
> I assume that I need to run a command on the PC to get both systems
> the same. Is it a reset or something else?
http://git.or.cz/gitwiki/GitFaq#non-bare
tom
Previous: Chris WillardNext: Sverre Rabbelier
Message 2 of 11 in “Newbie Query”
  1. Chris WillardJan 20, 2009
  2. Tomas CarneckyJan 20, 2009
  3. Sverre RabbelierJan 20, 2009
  4. Reece DunnJan 20, 2009
  5. Nicolas Morey-ChaisemartinJan 20, 2009
  6. Boyd Stephen Smith Jr.Jan 20, 2009
  7. Nicolas Morey-ChaisemartinJan 20, 2009
  8. Boyd Stephen Smith Jr.Jan 20, 2009
  9. Jeff KingJan 20, 2009
  10. Johannes SchindelinJan 21, 2009
  11. Chris WillardJan 21, 2009

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.