threads / discuss / 45353

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

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

## tl;dr

2 messages between Mar 11, 2017 and Mar 11, 2017.

replies: 1people: 2as markdown or json

Luuk· Mar 11, 2017, 11:55 UTC · lore

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)

Ævar Arnfjörð Bjarmason· Mar 11, 2017, 12:34 UTC · re: Luuk · lore

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

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).

← back to recent threads