1
0
mirror of https://github.com/namibia/tips.git synced 2024-12-23 02:28:58 +00:00

Commits in Branch1 that are not in Branch2

This commit is contained in:
Hemanth.HM 2016-03-06 16:58:58 +05:30
parent 46e66ce4b5
commit a5be265d69
2 changed files with 9 additions and 0 deletions

View File

@ -89,6 +89,7 @@
* [skip staging area during commit.](https://github.com/git-tips/tips#skip-staging-area-during-commit)
* [List ignored files.](https://github.com/git-tips/tips#list-ignored-files)
* [Status of ignored files.](https://github.com/git-tips/tips#status-of-ignored-files)
* [Commits in Branch1 that are not in Branch2](https://github.com/git-tips/tips#commits-in-branch1-that-are-not-in-branch2)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -617,5 +618,10 @@ git check-ignore *
git status --ignored
```
## Commits in Branch1 that are not in Branch2
```sh
git log Branch1 ^Branch2
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -272,4 +272,7 @@
},{
"title": "Status of ignored files.",
"tip": "git status --ignored"
},{
"title": "Commits in Branch1 that are not in Branch2",
"tip": "git log Branch1 ^Branch2"
}]