Updated readme

This commit is contained in:
Hemanth.HM 2015-07-15 20:07:46 +05:30
parent 819e1550df
commit acd8501b5f
1 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,8 @@
* [Remove branches that have already been merged with master](https://github.com/git-tips/tips#Remove branches that have already been merged with master)
* [List all branches and their upstreams, as well as last commit on branch](https://github.com/git-tips/tips#List all branches and their upstreams, as well as last commit on branch)
* [Track upstream branch](https://github.com/git-tips/tips#Track upstream branch)
* [Delete local branch](https://github.com/git-tips/tips#Delete local branch)
* [Delete remote branch](https://github.com/git-tips/tips#Delete remote branch)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -64,5 +66,15 @@ git branch -vv
git branch -u origin/mybranch
```
## Delete local branch
```sh
git branch -d local_branchname
```
## Delete remote branch
```sh
git push origin :remote_branchname
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->