com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: git fetch updated refs/heads/refs/notes/commits, but the ref does not exist

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by xaviershay
, 10 months ago
An error occurred while executing an external process: '/usr/bin/git push --prune ssh://git@git-mirror/app/git/stash/project_1/rep_1.git +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/*' exited with code 1 saying: No refs in common and none
via Atlassian JIRA by Charles O'Farrell [Atlassian], 1 year ago
An error occurred while executing an external process: Broken pipe
via Atlassian JIRA by Charles O'Farrell [Atlassian], 1 year ago
An error occurred while executing an external process: Broken pipe
via GitHub by svante66
, 10 months ago
An error occurred while executing an external process: '/usr/bin/git push --prune gitosis@git.internal.machines:gitolite-admin.git --force +refs/heads/_:refs/heads/_ +refs/tags/_:refs/tags/_' exited with code 129 saying: error: --mirror can't be
com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: git fetch updated refs/heads/refs/notes/commits, but the ref does not exist
at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.