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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:59:10+00:00 2026-06-06T18:59:10+00:00

I have a simple Git repo with non-branching commits in the master branch. I

  • 0

I have a simple Git repo with non-branching commits in the master branch. I want to produce a listing of all commits over time with message (like git log produces) but for each I want to see the delta patch between that commit and the previous for each file (like git diff produces when explicitly fed the adjacent commit values).

Is this something I can produce with git directly, or do I just need to scrape the output of git log and use a script to feed the rolling values to git diff?

  • 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-06T18:59:12+00:00Added an answer on June 6, 2026 at 6:59 pm

    You can use the following command:

    git log -p
    

    The -p option tells git log to output a patch for each commit.

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

Sidebar

Related Questions

I am trying to implement a simple scenario where I have a git repo
I have a simple place-holder html-file that I would want to use the header
My brain apparently can't handle Git. I'm trying. I'm failing. All I want to
I have cloned a git repo which has my emacs config files in. I
I have a git repo with some very large binaries in it. I no
We have a new git repo that is acrued from a svn repo. The
Seems like a simple problem: I have an SVN repo inside our firewall. I
I have a simple blog application written in Python, using Django. I use Git
I have a very simple git repository that I've been using to learn git.
I have a simple erb template that pulls information from a (Grit) git repository.

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.