jesseduffield / lazygit

simple terminal UI for git commands
MIT License
48.13k stars 1.73k forks source link

How can i change the date of the commit using lazygit #3715

Closed hsayed21 closed 2 days ago

hsayed21 commented 4 days ago

Topic How can I change the date of the commit using lazygit?

Your thoughts I want to change the date of the commit with the current date or a specific date, Can we do that?

thanks

stefanhaller commented 4 days ago

Only to the current date, not to a specific date; and only by also changing the author to yourself at the same time. To do that, hit a on the commit and pick "Reset author".

(If you don't want to change the author to yourself, just set it back to what it was by hitting a again and picking "Set author", choosing the author that it had before.)