I tried to follow instruction in this thread and apparently my local branch was deleted.
To make sure, I tried to switch to the deleted branch and expected to get error saying that the local branch no longer exists or something similar. However, I switched the the supposedly deleted branch without any issues:
PS C:\Users\node> git branch -D MKTINT-45693
Deleted branch MKTINT-45693 (was c405ae9a99).
PS C:\Users\node> git checkout MKTINT-45693
Updating files: 100% (668/668), done.
Switched to a new branch 'MKTINT-45693'
Branch 'MKTINT-45693' set up to track remote branch 'MKTINT-45693' from 'origin'.
Furthermore, the branch MKTINT-45693 is still visible in my Jira project (as a hyperlink to BitBucket repo) - I expected that after the deletion of a local branch it will also be removed from Jira project as well.
How to permanently delete local branch then?
The reason I want to delete it is that I made some changes on a file and committed to production branch but later on I had to make additional changes to the same file and re-commit. But when I try to recommit I get error saying that "branch MKTINT-45693 already exists. Please delete the local branch..". So I'm trying to delete it.