TortoiseGit Log for Remote Branch

I'm new to Git and bitbucket, so excuse me if this is a very simple question.

I use bitbucket in conjunction with TortoiseGit, and I configured it according to:

http://guganeshan.com/blog/setting-up-git-and-tortoisegit-with-bitbucket-step-by-step.html

and everything works correctly.

What I would like to do is that when I click on the log from tortoiseGit, I see the log of the remote branch (located on the bitpack), and not the local branch

I managed to see the remote branch log by doing:

git fetch git log remote/test 

from gitbash ( https://github.com/abhikp/git-test/wiki/View-the-commit-log-of-a-remote-branch )

Is there a way that I can accomplish the same task from inside tortoiseGit?

+5
source share
2 answers

You can emulate these steps in TortoiseGit :

  • git fetch origin :

https://raw.githubusercontent.com/TortoiseGit/TortoiseGit/master/doc/images/en/Fetch.png

  • git log origin/test :

In the log dialog box, select "All branches" to see remotes/origin/test

http://dev.opencascade.org/doc/overview/html/OCCT_GitGuide_V2_image026.png

you can see other illustrations in the dev manual .

+6
source

The accepted answer shows all the commits in all branches, which is not exactly what was set, and often shows too much information to understand. You can do the following to view only one remote branch.

  • Run git fetch as usual, either from TortoiseGit or from the command line.

  • In the Log Messages dialog box, click on the blue branch name in the upper left corner to open the Link Overview dialog box Click on the name of the blue branch

  • In the "Browse Links" dialog box, select the remote branch that you want to view, most likely it will be in the section refs-> remotes-> origin. Then click OK to return to the Log Messages dialog box. The commit history should now display information about the selected remote branch.

Choose the kickback branch that interests you

+4
source

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


All Articles