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

Tracking remote branches

From
Thiago Farina <tfransosi@gmail.com>
Date
Sep 14, 2009, 00:37 UTC
Message-ID
<a4c8a6d00909131737v35d7c63dsea669f47456f5acb@mail.gmail.com>
Hi,

I'm not understanding what is happening here. I tried to track a remote branch, origin/maint from git. So I did: $ git branch --track maint origin/maint $ git checkout maint

I know that I could do simply, instead of above: $ git checkout --track -b maint origin/maint

OK, now I switched to maint branch. And then I did: $ git status

# On branch maint # Changes to be committed # (use "git reset HEAD <file>..." to unstage) # # new file: git-remote-curl # new file: git-replace #

What happened here? What I have to do now?
Next: Nicolas Sebrecht
Message 1 of 4 in “Tracking remote branches”
  1. Thiago FarinaSep 14, 2009
  2. Nicolas SebrechtSep 14, 2009
  3. Thiago FarinaSep 14, 2009
  4. Heiko VoigtSep 14, 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.