The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to delete old feature branches from Repo but getting error

tejendra reddy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 19, 2020

Trying to delete old feature branches from the repository with the below command 

git push origin --delete <branch> 

but getting an error and couldn't able to resolve it. Any help is appreciated.

remote: error: unable to create file /atlshare/atlassian/application-data/bitbucket/shared/data/repositories/4861/./packed-refs.new: File exists
To https://bitbucket.XXXXXX.com/scm/XXXXX/XXXXXX.git
! [remote rejected] feature/XXXXXXXXXXXX (failed to update ref)
error: failed to push some refs to 'https://XXXXXX@bitbucket.XXXXX.com/scm/XXXX/XXXXXX.git'

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events