Gabriel
Gabriel

Reputation: 42329

See previous commit in Github

After searching my git log for an old commit, I take its full hash paste it into my browser as https://github.com/my_repo/commit/hash and so I can see that commit in Github.

Now I want to see the previous commit in Github, but I can't find a way to navigate into it.

Is there a way to do this? I wasn't able to find a button/link/anything.

Here is the link to a commit In Github as an example. From that page, how can I see the previous commit?

Upvotes: 1

Views: 1071

Answers (2)

VD007
VD007

Reputation: 267

in your repo, find these options (most probably it will be on the top, after navigation bar), and click on where it says 3 commits (you may have different numbers) just above the branchmaster dropdown button. (read blue lables in the image above).

Upvotes: 2

jangler
jangler

Reputation: 987

Click the "1 parent" link next to the commit hash.

Upvotes: 4

Related Questions