Answers for "how to change git commit date"

3

git change git commit date

Set GIT_COMMITTER_DATE="Wed Sep 23 9:40 2015 +0200" git commit --amend --date "Wed Sep 23 9:40 2015 +0200"
Posted by: Guest on November-27-2019
1

github change commit date

git filter-branch --env-filter \
    'if [ $GIT_COMMIT = 119f9ecf58069b265ab22f1f97d2b648faf932e0 ]
     then
         export GIT_AUTHOR_DATE="Fri Jan 2 21:38:53 2009 -0800"
         export GIT_COMMITTER_DATE="Sat May 19 01:01:01 2007 -0700"
     fi'
Posted by: Guest on April-17-2021
0

how to change git commit date

LC_ALL=C GIT_COMMITTER_DATE="Tue Aug 31 04:15:25 2021 +0100" git commit --amend --signoff --no-edit --date "Tue Aug 31 04:15:25 2021 +0100"
Posted by: Guest on September-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language