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

Idea for git-touch

From
LSLuís Sousa <llsousa@ualg.pt>
Date
Nov 12, 2009, 16:15 UTC
Message-ID
<4AFC348B.4000202@ualg.pt>
Hi all,
I have been using GIT for several time and I love it.

I normally do commits when something works or on the end of the day, just to record what have doing. On other day, when I consider that is done/working I do a rebase -i squashing everything on one commit. The date of that commit will be preserved and is the date of the first commit. Then I do a git-reset HEAD~1, git-add . and git-commit with the same message to have the current date.

A nice functionality was a git-touch that did the commands before.

Best regards and keep the good work, Luís Sousa

P.S.: While writing this message I realize that is easy to accomplish a git-touch doing a bash script, but probably is a good idea to share.

Next: Jan Krüger
Message 1 of 7 in “Idea for git-touch”
  1. Luís SousaNov 12, 2009
  2. Jan KrügerNov 12, 2009
  3. Luís SousaNov 12, 2009
  4. Jan KrügerNov 12, 2009
  5. Luís SousaNov 12, 2009
  6. Michele BallabioNov 12, 2009
  7. Luís SousaNov 16, 2009

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.