Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Way to see the whole commit history of a repo in Egit/TortoiseGit?

I'm looking for a way to see, though egit, to the whole history of my current git repo. From what it looks like, egit's "Show in History" will only show commits up to the current commit. With this I mean that if I do commit1 and commit2 and then decide to do checkout of the first, running "Show in History" of the project will not show up commit2.

Is there any way that allows me to see the whole history of the repo? I guess that'll be somehting on the lines of the git log master console command.

In other words, if you do checkout at any time your initial commit, how are you supposed to later be able to checkout the newer commits if your history won't show them?

I've been checking out, and it seems TortoiseGit "suffers" from the same problem. Is it indeed a problem or is just me that's not doing thing as we're supposed to?

Thanks

like image 834
devoured elysium Avatar asked Apr 13 '11 22:04

devoured elysium


People also ask

How do you see your git repository commit history?

On GitHub, you can see the commit history of a repository by: Navigating directly to the commits page of a repository. Clicking on a file, then clicking History, to get to the commit history for a specific file.

Which command used to list the commit history in git?

The most basic and powerful tool to do this is the git log command. By default, with no arguments, git log lists the commits made in that repository in reverse chronological order; that is, the most recent commits show up first.

Which command will display your commit history?

The git log command displays all of the commits in a repository's history. By default, the command displays each commit's: Secure Hash Algorithm (SHA) author.

How do I see all commit messages?

If you want to see what's happened recently in your project, you can use git log . This command will output a list of the latest commits in chronological order, with the latest commit first.


2 Answers

There is actually a button Show all Branches and Tags in the Eclipse history view to show all commits. See screenshot for more detail:

enter image description here

(It was already mentioned by L2G, but i did not had enough reputation to post a comment there.)

like image 88
Till Schäfer Avatar answered Oct 01 '22 18:10

Till Schäfer


I would just open up gitk --all and look at the top. This will show you the entire history. I haven't worked with the other tools but if they don't have an --all switch, use gitk.

Hope this helps.

like image 26
Adam Dymitruk Avatar answered Oct 01 '22 18:10

Adam Dymitruk