Today I was trying to delete a feat/A branch that hadn't been merged to main because the feature went into production, while was on the new branch feat/B, then I got the warning 'but not yet merged to HEAD.' StackOverflow guys say that means the target branch to be deleted hasn't been merged with the current local branch yet, so I switched to main, then the warning was gone.
https://stackoverflow.com/questions/12147360/git-branch-d-gives-warning
Today I was trying to delete a feat/A branch that hadn't been merged to main because the feature went into production, while was on the new branch feat/B, then I got the warning 'but not yet merged to HEAD.' StackOverflow guys say that means the target branch to be deleted hasn't been merged with the current local branch yet, so I switched to main, then the warning was gone.