Skip to content

rebase with date=now #367

Answered by arxanas
annasun28 asked this question in Q&A
Apr 20, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @annasun28, I'm glad you find git-branchless useful! If you haven't already, it would be appreciated if you were to take the user survey 🙂.

To clarify, you want the author dates to reflect the most-recently-modified time, not the committer dates? Can you tell me more about what your workflow around timestamps looks like?

The branchless.restack.preserveTimestamps option exists, but that does the opposite of what you want, it sounds like: it keeps both the author and committer dates in the past, rather than updating them to the present time.

If you're interested in adding an option to force the author timestamps to the present, it should be fairly straightforward, and I can walk you thro…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@annasun28
Comment options

Answer selected by annasun28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants