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

Re: Master branch not updating

From
Thomas Rast <trast@student.ethz.ch>
Date
Mar 22, 2010, 16:47 UTC
Message-ID
<201003221747.50504.trast@student.ethz.ch>
In-Reply-To
<295c22191003220943o2ef330ddk58a8180411ddbb2b@mail.gmail.com>
Jacopo Pecci wrote:
Show 14 quoted lines
> Hi,
> I have a simple local project, with only the master branch. After few
> commits with Git Extensions, I have realized the label [master] was
> stuck, it was not pointing at the latest commit any more. Nevertheless
> I could see a full list of all my new commits with the proper comments
> in the main window.  It looked like I was not on any branch (if this
> is possible)
> Then I have tried “checkout master branch”, suddenly all the commits
> in between the one labelled [master] and the latest one vanished. I
> have not been able to get back.
> 
> I am terribly afraid I have lost 4 day work. Do you have any
> suggestion? How is it possible that something which I have committed
> is not retrievable anymore.
Read this very nice article by Sitaram Chamarty:
http://sitaramc.github.com/concepts/detached-head.html
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Jacopo PecciNext: Johannes Sixt
Message 2 of 4 in “Master branch not updating”
  1. Jacopo PecciMar 22, 2010
  2. Thomas RastMar 22, 2010
  3. Johannes SixtMar 22, 2010
  4. Jacopo PecciMar 23, 2010

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.