git command to delete local branch

Considering you are working on develop branch in local repo that syncs with remotedevelop branch you can do as below. Git branch -D develop git checkout -b develop origindevelop 3 Abort Merge.


Delete Remote Tracking Branches In Git Techie Delight

Delete a local branch using the git branch -d command while checked out to a different branch.

. Locate the tree for the remote in Team Explorers Branches view such as remotesorigin right-click and select Delete. You can delete a remote branch using the same method. Git branch -d Deleting a remote branch requires use of the.

2 Delete current branch and checkout again from the remote repository.


How To Delete Remote Branches In Git


Delete Git Local And Remote Branches Techie Delight


How To Delete A Branch In Git Youtube


How Do I Delete A Branch Locally And Remotely In Git O Reilly


Version Control How Do I Delete A Git Branch Locally And Remotely Stack Overflow


Version Control How Do I Delete A Git Branch Locally And Remotely Stack Overflow


3 Examples To Delete Git Remote Local Branches


3 Examples To Delete Git Remote Local Branches

0 comments

Post a Comment