git config --local user.name "Your name"
git config --local user.email "[email protected]"git rebase mastergit push origin :<branch-name>git reset HEAD~1git fetch -pgit commit --amendgit merge --squash <branch-to-squash-from>git rebase -i HEAD~<number-of-commits>git log --graph --oneline --all --decorate --topo-ordergit tag v<version>git branch -m <old-branch-name> <new-branch-name>
git push origin :<old-branch-name>
git push --set-upstream origin <new-branch-name> git branch --merged mastergit checkout <commit> -- <file-path>git checkout <commit>^ -- <file-path>git check-ignore -v <file-path>git remote set-url origin <new-origin-url>git reset --hard HEAD~1 && git push -f origin mastergit reset --hard origin/mastergit merge-base feat/A feat/Bgit pull --rebasegit branch -rgit branch | grep -v "main" | xargs git branch -Dgit fetch origin pull/1/head:testYou have to find the PR branch (hover over the branch name in the PR).
git fetch https://bitbucket.org/XXXXX/YYYY/branch/ZZZZ masterXXXX -> team YYYY -> project name ZZZZ -> PR branch name