If for any reason you want to delete a git branch, you can easily do it using below mentioned commands.
Suppose you want to delete your local git branch, you have to execute the following command-
git branch -d <your_branch_name>
You can also delete a a remote branch, for that you have to execute the following command
git push origin --delete <your_branch_name>
Please Like and Share the Blog, if you find it interesting and helpful.
Suppose you want to delete your local git branch, you have to execute the following command-
git branch -d <your_branch_name>
You can also delete a a remote branch, for that you have to execute the following command
git push origin --delete <your_branch_name>
Please Like and Share the Blog, if you find it interesting and helpful.
Related articles
- Integrate Colorbox in Asp Net Web Application
- How to Integrate CKEditor in Asp Net Web Application
- Using UNC path for Storing and Retrieving Files in ASP Net
- Asp Net Interview Questions and Answers - Part 1
- HTTP Error 500.22 - Internal Server Error
- Asp.Net : How to regenerate .designer.cs file for aspx or ascx files
- Run .sql script file in C#
- How to improve Asp.Net Application Performance - Part 2
- How to improve Asp.Net Application Performance - Part 1
- Globals in Nodejs
No comments:
Post a Comment