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

Re: How to find the cause of 'git push' stopping on 'Writing objects'?

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Mar 11, 2017, 12:34 UTC
Message-ID
<CACBZZX5ZNpidDpuHgvLZ0XVj=0Xm7OavNO-wMo4wXzdN=WOcVQ@mail.gmail.com>
In-Reply-To
<05e6903d-336d-23df-a4be-13c4030c6c82@gmail.com>
On Sat, Mar 11, 2017 at 12:55 PM, Luuk <luuk34@gmail.com> wrote:
Show 54 quoted lines
> I am new to GIT, so i'm playing around with a repository and git is hanging
> on 'git push',
> How can i find out what i'm doing wrong here?
>
> D:\TEMP\test\test>git remote -v
> origin  git://mini/test.git (fetch)
> origin  git://mini/test.git (push)
>
> D:\TEMP\test\test>git status
> On branch master
> Your branch is ahead of 'origin/master' by 3 commits.
>   (use "git push" to publish your local commits)
> nothing to commit, working tree clean
>
> D:\TEMP\test\test>git push -v
> Pushing to git://mini/test.git
> Looking up mini ... done.
> Connecting to mini (port 9418) ... 192.168.178.50 done.
> Counting objects: 9, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (9/9), done.
> ^Citing objects: 100% (9/9)
> D:\TEMP\test\test>
> D:\TEMP\test\test>git add *
>
> D:\TEMP\test\test>git push -v
> Pushing to git://mini/test.git
> Looking up mini ... done.
> Connecting to mini (port 9418) ... 192.168.178.50 done.
> Counting objects: 9, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (9/9), done.
> ^Citing objects: 100% (9/9)
> D:\TEMP\test\test>
> D:\TEMP\test\test>git status
> On branch master
> Your branch is ahead of 'origin/master' by 3 commits.
>   (use "git push" to publish your local commits)
> nothing to commit, working tree clean
>
> D:\TEMP\test\test>git fetch -v
> Looking up mini ... done.
> Connecting to mini (port 9418) ... 192.168.178.50 done.
> From git://mini/test
>  = [up to date]      master     -> origin/master
>
> D:\TEMP\test\test>git --version
> git version 2.12.0.windows.1
>
> D:\TEMP\test\test>
>
> The git-server i'm using is on a mac-mini:
> git --version
> git version 2.10.1 (Apple Git-78)

What's the output of those commands prefixed with GIT_TRACE=1? (See "man git for how trace works).

Previous: Luuk
Message 2 of 2 in “How to find the cause of 'git push' stopping on 'Writing objects'?”
  1. LuukMar 11, 2017
  2. Ævar Arnfjörð BjarmasonMar 11, 2017

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.