Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts

Tuesday, October 17, 2017

how to delete remote git branch

1.  have to check list of origin branch
  git remote show origin

2. delete branch
  git push origin --delete feature/TEST-860


3. delete local branch
 - git branch -l
 - git branch -D feature/xxx
    -d, --delete          delete fully merged branch
    -D                    delete branch (even if not merged)