Skip to content

Instantly share code, notes, and snippets.

@tps2015gh
Last active September 26, 2018 04:52
Show Gist options
  • Save tps2015gh/f4722a0fb92d02f4df9990094d72e4b3 to your computer and use it in GitHub Desktop.
Save tps2015gh/f4722a0fb92d02f4df9990094d72e4b3 to your computer and use it in GitHub Desktop.

git delete local branch

Delete a local and a remote GIT branch Delete a Local GIT branch. To delete the local GIT branch we can try one of the following commands: git branch -d branch_name. ... Delete a remote GIT branch. To delete a remote branch you can use the following command: git push <remote_name> --delete <branch_name> ... Push to remote branch and delete

git fetch

git create new branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment