Tortoise GIT - show changes created in branch after merge

Is it possible to show only commits a and changes created in a certain branch? If I do this before the merge, it will work. If I merge the master branch into this branch (to make it relevant), I see the commits and merges made in the main branch. Is there any way to filter it?

thanks for the help

+6
source share
2 answers

To see the branch before the merge, you can right-click on the commit before merging in the branch you want to see and click "Create branch in this revision".

Then browse the links and right-click on your new branch and click on "Show Log".

The merge is not displayed because it is not in this branch. This works if your merge is the last lock, but if it is not, you will not see anything after it.

You can also branch out your current branch on rebase to that branch to completely remove the merge. This will also hide it in the log view mode (again, just because it doesn't exist).

In both cases, the original branch remains the same.

In any case, there seems to be no easy way to do this. The option to "hide other branches" will be nice.

0
source
  • Go to github.com/ "yourour repository
  • Select a branch from the drop-down list.
  • Click the compare link on the right side.
  • Here you can see the commits that are present in your branch and not yet merged into master.
-1
source

Source: https://habr.com/ru/post/974728/


All Articles