> git fsck
error in commit %hash%: invalid author/committer line - bad time zone
> git show %hash%
Date: Mon Mar 18 23:57:14 2201 -5274361
How this can be fixed? With git rebase
in master branch and delete\update commit info, or do some magic in project .git
directory, or somehow else?
I'd go for the git rebase -i
solution.
Edit the wrong commits and git commit --amend --date="Mon Jul 24 14:00 2015 +0100"
when you stop on them.
If you rebase on pushed commits, you'll have to rewrite the branch history (in your case master
) by doing a push -f
.