How to delete a local branch in git

Once you have merged the changes of your local branch into the master, you might want to delete it if you dont plan to do any further work on that branch. To do that.

  • First checkout another branch
  • Issue the following command
git branch -d branch-name

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *