Search code examples
gitgithubbitbuckettortoisegit

TortoiseGit show log for remote branch


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

I am using bitbucket in conjunction with TortoiseGit and I've set it up according to:

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

and it is all working correctly.

What I would like to do is that when I click on show log from tortoiseGit I see the log of the remote branch ( hosted on bitbucket ) not that of the local branch

I managed to see the remote's 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 any way I can accomplish the same task from within tortoiseGit?


Solution

  • You can emulate those 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 the remotes/origin/test

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

    you can see other illustrations in the dev guide.