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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:31:20+00:00 2026-06-14T03:31:20+00:00

I wonder how would you create a commit in the past? I’ve searched for

  • 0

I wonder how would you create a commit in the past?

I’ve searched for it, and as far as I understand one can use git commit --date""

I would really appreciate if someone could clarify this and give an example of the date format.

  • 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-14T03:31:21+00:00Added an answer on June 14, 2026 at 3:31 am

    For example --date="Wed Feb 16 14:00 2011 +0100"

    From kernel.org:

    DATE FORMATS

    The GIT_AUTHOR_DATE, GIT_COMMITTER_DATE environment variables and the
    --date option support the following date formats:

    Git internal format It is , where
    is the number of seconds since the UNIX epoch.
    is a positive or negative offset from UTC. For
    example CET (which is 2 hours ahead UTC) is +0200.

    RFC 2822 The standard email format as described by RFC 2822, for
    example Thu, 07 Apr 2005 22:13:13 +0200.

    ISO 8601 Time and date specified by the ISO 8601 standard, for example
    2005-04-07T22:13:13. The parser accepts a space instead of the T
    character as well.

    source: http://www.kernel.org/pub/software/scm/git/docs/git-commit.html

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

Sidebar

Related Questions

I wonder what would happen when I create a joinable thread for writing some
wonder whether someone can help me with the following one... I have a struct
I would like to create a small Windows Messenger Client that I can trigger
I wonder how to create an application that would be capable to have only
I would like to use std::make_shared to create a void pointer. Since make_shared is
I wonder if I can create a RelayCommand on my ViewModel like this: public
I can create a form with Django that has a mysql background. I wonder
I'm wonder how you would go about and create a shape similar to this
I know this is a rather academic question, but I wonder how one would
I wonder what would happen. i.e. I kick off a CAKeyframeAnimation, and while it

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.