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

Re: Git crash in Ubuntu 12.04

From
SKSivaram Kannan <siva.devel@gmail.com>
Date
Apr 18, 2013, 15:16 UTC
Message-ID
<CAJiNi_HA5bNO8gMHkts_e+dWG26n=S7MRF5wc_L+v=rbnM91oQ@mail.gmail.com>
In-Reply-To
<CAJiNi_FBzz2Tqp_P8BB=X7UnAaHiNH8s0FyzW4K9Xp6WZijECw@mail.gmail.com>
Hi,

The git crashed during one of the commits by a developer I think, the remote is not even showing the working branch. The local branch of is all right, but the remote repo is corrupted and could not git fsck also. Is restoring the last night's backup is my only option??

$ git remote show origin
* remote origin
  Fetch URL: git@gitserver:sggroup/sgrid.git
  Push  URL: git@gitserver:sggroup/sgrid.git
  HEAD branch: master
  Remote branches:
    SGRID_5_5_0_BRANCH                 tracked
    master                                 tracked
    refs/remotes/origin/4_4_Release_Branch stale (use 'git remote prune' to remo
ve)
  Local branch configured for 'git pull':
    4_4_Release_Branch merges with remote 4_4_Release_Branch

Thanks, ./Siva.

On Thu, Apr 18, 2013 at 5:02 PM, Sivaram Kannan <siva.devel@gmail.com> wrote:
Show 19 quoted lines
> Hi,
>
>> Probably not because there are no debugging symbols. Not sure how
>> ubuntu packages these symbols..
>
> Would recompiling the source packages and debugging would give
> different results?
>
>>
>> Any chance you could publish the repository that causes the crash?
>> --
>> Duy
>
> I don't think I can publish the repo online. But I am willing to try
> any steps on the repo to get more info. Most likely I would restore
> the latest repo to the stanby server I tested which works with any
> crash. Let me know what I can do to get more information.
>
> ./Siva.
Previous: Sivaram KannanNext: Thomas Rast
Message 10 of 13 in “Git crash in Ubuntu 12.04”
  1. Sivaram KannanApr 10, 2013
  2. Thomas RastApr 10, 2013
  3. Sivaram KannanApr 11, 2013
  4. Konstantin KhomoutovApr 11, 2013
  5. Sivaram KannanApr 12, 2013
  6. Konstantin KhomoutovApr 12, 2013
  7. Sivaram KannanApr 17, 2013
  8. Duy NguyenApr 17, 2013
  9. Sivaram KannanApr 18, 2013
  10. Sivaram KannanApr 18, 2013
  11. Thomas RastApr 19, 2013
  12. Duy NguyenApr 19, 2013
  13. Sivaram KannanApr 24, 2013

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.