Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7777991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:16:56+00:00 2026-06-01T18:16:56+00:00

git-log man page says: git log [options] [since..until] [[–] path…] since..until Show only commits

  • 0

git-log man page says:

git log [options] [since..until] [[–] path…]

since..until
Show only commits between the named two commits. When either
or is omitted, it defaults to HEAD, i.e. the tip of
the current branch. For a more complete list of ways to spell
and , see gitrevisions(7).

When I do git-log for some refs of the repo I get the hole log:

$ git log HEAD^ HEAD
commit 1e939a4f7097efd03b8a66607b561c5f698b3082
Author: Vasiliy <dixel@unen.(none)>
Date:   Wed Apr 11 13:58:03 2012 +0400

    3 commit

commit 1da7dcfc1920130f3de9a7c6b8f02d68923d12b7
Author: Vasiliy <dixel@unen.(none)>
Date:   Wed Apr 11 13:57:50 2012 +0400

    second commit

commit ee8d884f5fb364f667f8dcbf27b23afb3a4eeb85
Author: Vasiliy <dixel@unen.(none)>
Date:   Wed Apr 11 13:57:31 2012 +0400

    first commit

$ git branch
* master

What should I do to be able to show log since and until some revisions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:16:57+00:00Added an answer on June 1, 2026 at 6:16 pm

    Didn’t you just miss the .. ?

    git log HEAD^..HEAD 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use git log to show all commits that do not match
How can I filter the git log to show only my changes (excluding the
git diff --stat and git log --stat show output like: $ git diff -C
In my git log, I have 2 commits. How can I generate the difference
I use git log, but I find it can only list logs under current
git log lists all commits, from all branches that have been merged into HEAD.
How can I show a git log output with (at least) this information: *
How can I show the name of branches in the output of git log
In my git repository, I made 5 commits, like below in my git log:
I like the way git displays its log(like in the man pages format). Is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.