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

Re: Idea for git-touch

From
Michele Ballabio <barra_cuda@katamail.com>
Date
Nov 12, 2009, 17:18 UTC
Message-ID
<200911121818.02502.barra_cuda@katamail.com>
In-Reply-To
<4AFC348B.4000202@ualg.pt>
On Thursday 12 November 2009, Luís Sousa wrote:
Show 6 quoted lines
> 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.

git rebase -i <...> git rebase --ignore-date <...>

should do what you need.
Previous: Luís SousaNext: Luís Sousa
Message 6 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.