From: Michele Ballabio Date: Thu, 12 Nov 2009 17:18:01 GMT Subject: Re: Idea for git-touch Message-ID: <200911121818.02502.barra_cuda@katamail.com> In-Reply-To: <4AFC348B.4000202@ualg.pt> On Thursday 12 November 2009, Luís Sousa wrote: > 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.