git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git log --oneline cannot display dates

From
DHDavid Hoyle <davidghoyle@gmail.com>
Date
Apr 2, 2018, 12:05 UTC
Message-ID
<CAFGVh0zWuqa5HswE7JAx3-bOSGGaRAgLa6ULy--+yn_iD5eJRQ@mail.gmail.com>

When using the git log command with the --oneline switch, you cannot add the --date=<date> switch to see the dates. The only workaround is to create an alias and use the --pretty-format which doesn't provide the ability to colour the branch and tag information (as far as i can tell).

regards David Hoyle.

Next: Jeff King
Message 1 of 2 in “git log --oneline cannot display dates”
  1. David HoyleApr 2, 2018
  2. Jeff KingApr 2, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.