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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:59:26+00:00 2026-06-07T03:59:26+00:00

i want to create an automatic release notes mechanizem. what i’m trying to do

  • 0

i want to create an automatic release notes mechanizem.
what i’m trying to do is before each deploy go over all the commits i made using git and generate a commit logs from it.
i already looked here: http://gitref.org/inspect/#log and found out commands like:

git log --oneline --before={3.weeks.ago} --after={2010-04-18} --no-merges

the problem is that i don’t know the dates nor author or any other filtering. the only thing i can know is that this is a new doploy so i need a way to store some index upon each deploy and grep all the commits since the last index. i’m using github as hosting.
is there a way to do that?

  • 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-07T03:59:27+00:00Added an answer on June 7, 2026 at 3:59 am

    ok – so you need a range, but you say you don’t know ‘date or author’, but you should know the commit sha at least?

    git log XXXX..XXXXX --format='%ad %an: %s' --no-merges --date=short
    

    where XXXX is your commit

    or like Ikke says use tags instead, every time you release to production, tag with a build number, so then you just need the last production tag and the new production tag

    git log p-5010..p-5011 --format='%s' --date=short
    

    .


    Leaving this section in case someone finds useful: not the answer but related to git log

    git log --format='%ad %an: %s' --before={3.weeks.ago} --after={2012-05-18} --no-merges --date=short
    

    just grabbed some code from my .gitconfig and merged it with what you have

    my .gitconfig alias for git l

    [alias]
        l = log -20 --format='%h %ad %d %an: %s' --date=short
    
    git l
    # returns last 20 commits
    e42c322 YYYY-MM-DD  (tag-if-exists) John Doe: commit message
    849c968 YYYY-MM-DD  John Doe: commit message
    ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does Zend_Pdf already support automatic wrapping of text? For example I want to create
I have a date of operation. I want create promissory notes which have got:
I want to use the automatic_tag_name hook to automatic create tag name without the
Like here: Automatic authentication for Android WiFi Direct I want to create a mobile
Trying to create an automatic login to a webpage which takes HTTP POST input
I'm trying to create an internal app for my company. I want to provide
I want to create a prototype that's based on automatic speech recognition in order
I want to create a workflow automatic task (1. Send back to Author 2.
I want to create an Action to automate GCJ compilation. Since I couldn't make
I want create a excel with Apache POI in java and I must insert

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.