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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:12:26+00:00 2026-06-16T02:12:26+00:00

We have recently converted our SVN repositories to GIT. It seems that we lost

  • 0

We have recently converted our SVN repositories to GIT. It seems that we lost some commits by this conversion and would like to verify this.

So we would like to find a matching git commit for each svn commit to check whether the conversion has actually occured.

$ git log|grep "some partial commit message" will not suffice as it only walks through direct ancenstors and ignores branches that are not direct ancestors.

$ git show <commit-hash> will not work as svn doesn’t have sha1sums.

the closest thing I found was: $ git reflog show --all --grep="releasenotes"|xargs git show --shortstat however this doesn’t seem to completely work as it seems to grep in more places than just the commit message (We got a false positive).

I also tried to use this: $ git rev-list --all|xargs -n1 bash -c 'git show|head -n10'|grep -i release

basically I’m lacking a good method to print the commit message without the diffs.

[EDIT]

I’m not exactly sure but I guess this should list all commit messages in the repository.

git rev-list --all|xargs -n1 git log -n1
  • 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-16T02:12:27+00:00Added an answer on June 16, 2026 at 2:12 am

    You can just use the --all option for git log

    git log --all --oneline --graph --decorate | grep "message"
    

    Which is equivalent to

    git log --all --oneline --graph --decorate --grep "message"
    

    Or if you would prefer to have the context and don’t have a lot of commits you might want to do something like

    git log --all --oneline --graph --decorate | less
    / message
    

    And that way you can see where your commits are with respect to other commits.

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

Sidebar

Related Questions

We have an existing (old) codeline that we have recently converted from VC6 to
I have bean that i recently converted over from being a managed-bean to being
Recently I have found some classes in our system which are not covered by
I have an application that we've recently converted from a Web Site to a
I have recently become aware that our code has several implementations of a version
I have a field containing raw HTML published via JSON that was recently converted
My site contains profile pages for companies. I have recently converted the open graph
We just recently converted our help file from the CHM format to HTML. Since
I have an old (around 5 years) enterprise application that I manage. Recently we
We have a couple of .asmx soap web services that handle communication between our

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.