I have pushed a file wrong and now i can't delete it on the website
Hi! What do you mean by "delete it on the website", are you referring to Bitbucket?
If nobody else has pushed any changes to the repo, you can do a git -reset. Otherwise, you'll need to do a rebase.
Alternatively, if the file you accidentally pushed doesn't contain any sensitive data and you don't mind it being in the history, you can just remove it from your stage and do another commit, the file will then be deleted from Bitbucket.
I recommend you reading the following articles if you need more information in the operations mentioned above:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.