Merge pull request #62 from exalted/patch-1

Branches merged into master without checkout first
This commit is contained in:
hemanth.hm 2016-06-09 12:04:45 +05:30
commit d3b180632b
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ git diff HEAD
## List all branches that are already merged into master ## List all branches that are already merged into master
```sh ```sh
git checkout master && git branch --merged git branch --merged master
``` ```
## Quickly switch to the previous branch ## Quickly switch to the previous branch

View File

@ -30,7 +30,7 @@
"tip": "git diff HEAD" "tip": "git diff HEAD"
}, { }, {
"title": "List all branches that are already merged into master", "title": "List all branches that are already merged into master",
"tip": "git checkout master && git branch --merged" "tip": "git branch --merged master"
}, { }, {
"title": "Quickly switch to the previous branch", "title": "Quickly switch to the previous branch",
"tip": "git checkout -" "tip": "git checkout -"