Merge pull request #1 from phalgun/patch-1

More git tips
This commit is contained in:
hemanth.hm 2015-07-15 14:39:12 +05:30
commit 02d0ca47c9

View File

@ -22,3 +22,19 @@ git update-ref -d HEAD
```sh
git diff --name-only --diff-filter=U
```
# List all branches that are already merged into master
```sh
git checkout master
git branch --merged
```
# Quickly switch to the previous branch
```sh
git checkout -
```