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

Git fetch Failure

From
TTarun【ツ】 <tarunramsinghani@gmail.com>
Date
Sep 2, 2025, 14:08 UTC
Message-ID
<CAGAx-2Ac2Tt4-jTH=AApK3m=U7d2RJBaTW=uX6jBHzmpWU9NYw@mail.gmail.com>
Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.
What did you do before the bug happened? (Steps to reproduce your issue)

I am trying to clone the repo from cmdline. the same steps succeeds with git v2.50.1 but fails with git v 2.51.0

repro steps
mkdir TasksTest
cd TasksTest
git init
git remote add origin https://github.com/microsoft/azure-pipelines-tasks.git
git fetch
What did you expect to happen? (Expected behavior)
Git fetch to succeed
What happened instead? (Actual behavior)
Git fetch failed with error

error: cannot lock ref 'refs/remotes/origin/users/ajya/sqlservermoduleimportM146': Unable to create '/Users/admin/Repos/tasks1/.git/refs/remotes/origin/users/ajya/sqlservermoduleimportM146.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
What's different between what you expected and what actually happened?
Anything else you want to add:
Please review the rest of the bug report below.
You can delete any lines you don't wish to share.
[System Info]
git version:
git version 2.51.0
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
libcurl: 8.7.1
zlib: 1.2.12
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
default-ref-format: files
default-hash: sha1

uname: Darwin 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:29 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6000 arm64

compiler info: clang: 17.0.0 (clang-1700.0.13.3)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh
[Enabled iHooks]
Next: Kristoffer Haugsbakk
Message 1 of 3 in “Git fetch Failure”
  1. Tarun【ツ】Sep 2, 2025
  2. Kristoffer HaugsbakkSep 2, 2025
  3. Karthik NayakSep 2, 2025

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.