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 8533011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:51:17+00:00 2026-06-11T09:51:17+00:00

I want to log all commits pushed to a Git repository. I’m interested in

  • 0

I want to log all commits pushed to a Git repository. I’m interested in all commits, not only in the branches I have checked out locally. Also I want to see commits that happened in branches that have been deleted already. All I need is a command similar to svn log (in Subversion). Is it possible at all?

  • 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-11T09:51:19+00:00Added an answer on June 11, 2026 at 9:51 am

    I’m not sure what you’re asking for, but I don’t think it’s possible in the git world.

    I can clone your repo, and make some commits. But I’m not obliged to share them with you. So there are some commits you’ll never know about.

    Similarly, if I do share commits with you, I might make 10 commits locally, but squash them into 1 commit before sending them to you. You won’t be able to tell that the 10 original commits ever existed.

    You can make a local branch, make some commits, then delete that branch without merging them back in, and git gc may well destroy those commits forever as they are no longer reachable.

    So there are some commits which you can never know about, either because someone made them but never shared them with you, or because you made them but later made them available for garbage collection by deleting the only branch which referenced them.

    If you want to see all commits which you do know about, gitk --all might be what you’re looking for. It will show you a graphical view of all commits reachable from all branches, local or remote. Similarly, git log --all will show you a text summary of all commits reachable from all branches.

    If you’re specifically looking for dangling commits on the remote repo, I’m not sure how to do this. git fetch by default fetches only commits reachable from branches; you can specify -t to get those reachable from tags; but I don’t think you can fetch the remote reflog.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

git log lists all commits, from all branches that have been merged into HEAD.
I want to use git log to show all commits that do not match
I have a Git repository with few branches and dangling commits. I would like
I want to get a list of all the branches in a Git repository
When I have a repository with both lightweight and annotated tags, git-for-each-ref only seems
Is there any git UI for managing just git branches, hidding commits? All currently
I want a way to list all git authors that Is only since a
I am using gitk --all to view the git log. gitk does not display
I want to export the log of all commits in a repo to a
I have configured hg log in ~/.hgrc to only list commits from the current

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.