Skip to content

Commit 02d0ca4

Browse files
committed
Merge pull request #1 from phalgun/patch-1
More git tips
2 parents 68f6970 + 7c4096f commit 02d0ca4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,19 @@ git update-ref -d HEAD
2222
```sh
2323
git diff --name-only --diff-filter=U
2424
```
25+
26+
# List all branches that are already merged into master
27+
28+
```sh
29+
git checkout master
30+
git branch --merged
31+
```
32+
33+
# Quickly switch to the previous branch
34+
35+
```sh
36+
git checkout -
37+
```
38+
39+
40+

0 commit comments

Comments
 (0)