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'