File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 89
89
* [ skip staging area during commit.] ( https://github.com/git-tips/tips#skip-staging-area-during-commit )
90
90
* [ List ignored files.] ( https://github.com/git-tips/tips#list-ignored-files )
91
91
* [ Status of ignored files.] ( https://github.com/git-tips/tips#status-of-ignored-files )
92
+ * [ Commits in Branch1 that are not in Branch2] ( https://github.com/git-tips/tips#commits-in-branch1-that-are-not-in-branch2 )
92
93
93
94
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
94
95
<!-- @doxie.inject end toc -->
@@ -617,5 +618,10 @@ git check-ignore *
617
618
git status --ignored
618
619
```
619
620
621
+ ## Commits in Branch1 that are not in Branch2
622
+ ``` sh
623
+ git log Branch1 ^Branch2
624
+ ```
625
+
620
626
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
621
627
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 272
272
},{
273
273
"title" : " Status of ignored files." ,
274
274
"tip" : " git status --ignored"
275
+ },{
276
+ "title" : " Commits in Branch1 that are not in Branch2" ,
277
+ "tip" : " git log Branch1 ^Branch2"
275
278
}]
You can’t perform that action at this time.
0 commit comments