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 8989* [ skip staging area during commit.] ( https://github.com/git-tips/tips#skip-staging-area-during-commit )
9090* [ List ignored files.] ( https://github.com/git-tips/tips#list-ignored-files )
9191* [ 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 )
9293
9394<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
9495<!-- @doxie.inject end toc -->
@@ -617,5 +618,10 @@ git check-ignore *
617618git status --ignored
618619```
619620
621+ ## Commits in Branch1 that are not in Branch2
622+ ``` sh
623+ git log Branch1 ^Branch2
624+ ```
625+
620626<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
621627<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 272272},{
273273 "title" : " Status of ignored files." ,
274274 "tip" : " git status --ignored"
275+ },{
276+ "title" : " Commits in Branch1 that are not in Branch2" ,
277+ "tip" : " git log Branch1 ^Branch2"
275278}]
You can’t perform that action at this time.
0 commit comments