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

Git (SHA1) problem on Mac

From
Mark Dodwell <web@mkdynamic.co.uk>
Date
Apr 10, 2008, 21:12 UTC
Message-ID
<FAA4D842-DCB2-45B4-AB40-6F7D1F0A0320@mkdynamic.co.uk>
Hi,

I've got a problem with Git on my Mac, and I've exhausted Google and #git (irc), perhaps somebody can help?

I'm using git version X installed from source, I'm on Mac OS X 10.4.11.
Here's the problem I'm seeing:
[imac:~]$   mkdir git-test
[imac:~]$   cd git-test
[imac:~/git-test]$   git init
Initialized empty Git repository in .git/
[imac:~/git-test]$   touch README
[imac:~/git-test]$   git add README
[imac:~/git-test]$   git commit -m 'first commit'
Created initial commit b6e6cb6: first commit
  0 files changed, 0 insertions(+), 0 deletions(-)
  create mode 100644 README
[imac:~/git-test]$   git remote add origin git@github.com:mkdynamic/ 
git-test.git
[imac:~/git-test]$   git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 215 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
fatal: final sha1 did not match
error: unpack failed: unpacker exited with error code
To git@github.com:mkdynamic/git-test.git
  ! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to 'git@github.com:mkdynamic/git- 
test.git'

I can confirm that it is not an issue with the remote repo, as I similar 'final sha1 did not match' errors when i try to do local fetches.

Any clues/advice on what to do next?
Many thanks,
~ Mark
Next: Mark Dodwell
Message 1 of 3 in “Git (SHA1) problem on Mac”
  1. Mark DodwellApr 10, 2008
  2. Mark DodwellApr 10, 2008
  3. Mark DodwellApr 10, 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.