Amending the time of a commit

Download git eBook

Example

You cam amend the time of a commit using

git commit --amend --date="Thu Jul 28 11:30 2016 -0400"

or even

git commit --amend --date="now"

Stats

Contributors: 1
2016-07-29
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook