Creating Orphan branches in Bitbucket Get link Facebook X Pinterest Email Other Apps October 17, 2023 How we can create an empty branch in bitbucket using git command? git checkout --orphan <orphan-branch-name> git rm -rf . git commit --allow-empty -m “Empty branch” git push origin <orphan-branch-name> Read more