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

Re: Stupid Git question

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 21, 2006, 21:49 UTC
Message-ID
<ejvs65$vo8$1@sea.gmane.org>
In-Reply-To
<89b129c60611211341j71079633g53b0ec1d2e3193a5@mail.gmail.com>
Sean Kelley wrote:
> git checkout origin

It should be "git checkout master". You shouldn't do work on tracking branches like origin branch.

> git pull . fm-modulator
> 
> git push origin

Here origin means origin remote (repository). Check out what you have in remotes/origin, or in [remote "origin"] section in git config.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Sean KelleyNext: Sean Kelley
Message 2 of 7 in “Stupid Git question”
  1. Sean KelleyNov 21, 2006
  2. Jakub NarebskiNov 21, 2006
  3. Sean KelleyNov 22, 2006
  4. Carl WorthNov 22, 2006
  5. Sean KelleyNov 22, 2006
  6. Junio C HamanoNov 22, 2006
  7. Junio C HamanoNov 24, 2006

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.