Delete a local and a remote GIT branch

Delete a local GIT branch
- git branch -d branch_name
- git branch -D branch_name

Delete a remote GIT branch
- git push <remote_name> --delete <branch_name>

Comments

Popular posts from this blog

Deploy laravel application to digital ocean droplet

WP register_post_type() with custom CMB2 meta box

Git post receive setup at server for git push to the production from local machine