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

Branch "ahead of tracked remote branch"

From
Bill Lear <rael@zopyra.com>
Date
Apr 25, 2008, 02:03 UTC
Message-ID
<18449.15334.88706.45152@lisa.zopyra.com>

I had some work in master, I decided to move to a branch to complete, so:

% git checkout -b branch % git commit -a -m "Insightful message"

Then, I decided this was not such a good idea, so I did a git reset --soft HEAD^, then git reset HEAD for each file I committed, thinking that this was a complete "undo". I then switched to branch master and got this:

Switched to branch "master" Your branch is ahead of the tracked remote branch 'origin/master' by 1 commit.

I'm not sure this is accurate.  Does this seem correct?
Bill
Next: Daniel Barkalow
Message 1 of 3 in “Branch "ahead of tracked remote branch"”
  1. Bill LearApr 25, 2008
  2. Daniel BarkalowApr 25, 2008
  3. Bill LearApr 25, 2008

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.