View previous topic :: View next topic |
Author |
Message |
Andrey Grozin n00b
Joined: 12 Nov 2015 Posts: 11
|
Posted: Sun Feb 02, 2025 7:38 am Post subject: cannot git pull the Gentoo repo |
|
|
Today I've got an unexpected problem. As usual, I said `git pull` in the directory with the Gentoo repo. All changed ebuilds etc. were obtained. But at the end `git` produced an error message that `.git/HEAD.lock` exists. Maybe, `git` has terminated abnormally last time. Well, maybe, I don't remember. But currently there is no `.git/HEAD.lock`. When I say `git pull` I get
Code: |
error: cannot pull with rebase: Your index contains uncommitted changes.
error: Please commit or stash them.
|
`git status` produces zillion uncommitted changes - all changes downloaded today, before this error message about `.git/HEAD.lock` appeared.
How can I return this git directory to a usable state? |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1872 Location: Germany
|
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 538
|
Posted: Sun Feb 02, 2025 8:59 am Post subject: |
|
|
With
If the problem reappears, you should investigate why that happens. |
|
Back to top |
|
|
Andrey Grozin n00b
Joined: 12 Nov 2015 Posts: 11
|
Posted: Sun Feb 02, 2025 10:05 am Post subject: |
|
|
[quote="sMueggli"]With
Thank you very much, it works. |
|
Back to top |
|
|
|