Skip to content

Not able to push changes after cleanup #530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Harsimran1308 opened this issue Apr 11, 2025 · 0 comments
Open

Not able to push changes after cleanup #530

Harsimran1308 opened this issue Apr 11, 2025 · 0 comments

Comments

@Harsimran1308
Copy link

I ran below command

java -jar bfg.jar --delete-files '*.pdf'
git reflog expire --expire=now --all && git gc --prune=now --agressive

The size is reduced at this point

When I do git push

It gives below error

remote : You are attempting to update refs that are reserved for Bitbucket's pull request functionality. Bitbucket manages these refs automatically, and they may not be updated by user.

remote: Rejected refs:
remote : refs/pull-request/206/ from
To [repo name]
![remote rejected] refs/pull-request/206/ from -> refs/pull-request/206/ from (pre-recive hook declined)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant