5.Delete Git Branch
Thu Kha Kyawe

Thu Kha Kyawe @thukhakyawe_cloud

About: Certified in AWS, HashiCorp, and GitHub, I bring both strategic vision and technical expertise to design solutions that support business growth, optimize costs, and enhance operational efficiency.

Joined:
Nov 7, 2025

5.Delete Git Branch

Publish Date: Nov 16
0 0

Step 1: Connect to the Storage Server

ssh natasha@ststor01
# Password: Bl@kW
Enter fullscreen mode Exit fullscreen mode

Step 2: Navigate to the Repository

cd /usr/src/kodekloudrepos/blog
Enter fullscreen mode Exit fullscreen mode

Step 3: Delete the Local Branch

# Check Git Status
git status

# To add an exception for this directory, call:
git config --global --add safe.directory /usr/src/kodekloudrepos/blog

# Checkout to master
sudo git checkout master

# Delete the local branch
sudo git branch -d xfusioncorp_blog
Enter fullscreen mode Exit fullscreen mode

Resources & Next Steps


Credits

  • All labs are from: KodeKloud
  • Thanks for providing them.

Comments 0 total

    Add comment