public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Md Ferdous Alam via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org,  Md Ferdous Alam <mdferdousalam1989@yahoo.com>
Subject: Re: [PATCH] doc: commit: document special date keywords for --date
Date: Mon, 23 Feb 2026 09:10:20 -0800	[thread overview]
Message-ID: <xmqqa4wzo077.fsf@gitster.g> (raw)
In-Reply-To: <pull.2051.git.1771836303147.gitgitgadget@gmail.com> (Md Ferdous Alam via GitGitGadget's message of "Mon, 23 Feb 2026 08:45:03 +0000")

"Md Ferdous Alam via GitGitGadget" <gitgitgadget@gmail.com> writes:

> From: mdferdousalam <mdferdousalam1989@yahoo.com>
>
> The --date option in git-commit accepts human-readable keywords
> like "now", "yesterday", "noon", "midnight", "tea", and "never",
> but these were not documented.

I've always thought that these are easter eggs to be discovered,
deliberately left out of documentation, as they mostly exist to be
amusing.  For those who want to be precise, the date formats section
gives sufficient information.

Other than perhaps "now", which may be handy but not so useful in
the context of "git commit --date=now".

Moreover, 7.days.ago and 1.week.ago are also in the same category as
what you called "keywords" here, but we do not try to make an
exhausitive list.

So, I dunno.

  reply	other threads:[~2026-02-23 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23  8:45 [PATCH] doc: commit: document special date keywords for --date Md Ferdous Alam via GitGitGadget
2026-02-23 17:10 ` Junio C Hamano [this message]
2026-02-23 18:56   ` Engr Md Ferdous Alam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqa4wzo077.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=gitgitgadget@gmail.com \
    --cc=mdferdousalam1989@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox