How to delete git branch


To delete a local branch

 $ git branch -d the_local_branch_name  

To remove a remote branch (Caustion::if you know what you are doing!)

 $ git push origin :the_remote_branch_name

Comments

Popular posts from this blog

Mysql to CSV

Secure server with Firewalld

Setup K8s cluster via kubeadm