Re: Idea for git-touch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]