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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events