Got stuck in git branch prctice

i got error in deleting git branch please help me out.

You cannot delete active branch while you already in it.
Checkout to another branch, ‘master’ for example. And then delete ‘xfusioncorp_blog’ branch.

cd /usr/src/kodekloudrepos/blog/
sudo git checkout master
sudo git branch -d xfusioncorp_blog
1 Like

thanks for this help