Git push appears to hang client with many git rev-list operations logged

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Git client hangs on push with only the following item logged continuously in the application log for the unique transaction ID. The atlassian-bitbucket.logcontains many of these messages:

1 2014-10-08 14:57:30,165 DEBUG [AtlassianEvent::thread-2] charlie @17ABCDEx861x17838x1 xyzabc 10.10.10.10 SSH - git-receive-pack '/test/test_repo.git' com.atlassian.stash.scm.BaseCommand Executed /usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin --

Cause

3rd party plugin processing takes a lot of time and prevents the process from completing before the request times out. Known plugins to have caused this issue:

Workaround

Enable "Safe Mode" in the UPM and try the push again:

  1. Administration > Manage add-ons

  2. Select the "Enter safe mode" link towards the bottom of the page.

  3. Confirm the switch to Safe Mode by select the "Enter safe mode" button in the popup window.

  4. Retry the push command from the client.

  5. Exit out of Safe Mode by selecting the "Exit safe mode and restore previous configuration" link.

Alternatively, you can do it using the REST API:

Resolution

Contact the 3rd party plugin developer and report the issue.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.