git command to set custom commit date for windows Change repository path at line 7 Run bat file. it will prompt to enter commit message and commit date. commit date's fommat Jul 28 14:36 2019 +0100