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

2 messages from 2017-03-11 to 2017-03-11. Participants: Luuk, Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/45353

## Luuk, 2017-03-11 11:55

Subject: How to find the cause of 'git push' stopping on 'Writing objects'?
Message-ID: <05e6903d-336d-23df-a4be-13c4030c6c82@gmail.com>
URL: https://gitlist.dev/e/05e6903d-336d-23df-a4be-13c4030c6c82%40gmail.com

```
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, 2017-03-11 12:34

Subject: Re: How to find the cause of 'git push' stopping on 'Writing objects'?
Message-ID: <CACBZZX5ZNpidDpuHgvLZ0XVj=0Xm7OavNO-wMo4wXzdN=WOcVQ@mail.gmail.com>
URL: https://gitlist.dev/e/CACBZZX5ZNpidDpuHgvLZ0XVj%3D0Xm7OavNO-wMo4wXzdN%3DWOcVQ%40mail.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:
> 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).

```
