We are working in a team where we had local branches with everyone working their own branch and we had committed few branches and merged with --squash.
Now we have to delete those branches that are merged in in 'staging' branch.
The issue is when we command 'git diff' to see our branches, it shows that all commits that are squashed are unmerged.
We are geting unmerged branches using:
git branch -a --no-merged staging | grep github | cut -d/ -f3 > /not-gihub.txt
Thanks!