From 998a5c85234d354494aa4f02079e0c8fc286d472 Mon Sep 17 00:00:00 2001 From: Ali Servet Donmez Date: Tue, 7 Jun 2016 09:30:05 +0200 Subject: [PATCH 1/2] Branches merged into master without checkout first --- tips.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tips.json b/tips.json index dfffb7a..7d00c7b 100644 --- a/tips.json +++ b/tips.json @@ -30,7 +30,7 @@ "tip": "git diff HEAD" }, { "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", "tip": "git checkout -" From 9eae0f3cc423bb5f6e58e6dc542ade602b34c6bf Mon Sep 17 00:00:00 2001 From: Ali Servet Donmez Date: Wed, 8 Jun 2016 22:47:21 +0200 Subject: [PATCH 2/2] Update README and TOC ... by `npm run-script generate` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2af0e2d..d58eedf 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ git diff HEAD ## List all branches that are already merged into master ```sh -git checkout master && git branch --merged +git branch --merged master ``` ## Quickly switch to the previous branch