Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
> 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
これはどのように修正できますか?マスター ブランチでコミット情報を削除\更新するか、プロジェクトディレクトリでgit rebase何か魔法をかけるか、またはその他の方法で?.git
git rebase
.git
編集:リベースオプションが機能しない場合..レポを修復しようとして書き留めます..
高速エクスポートと高速インポートを使用します..
git fast-export --all | (cd /cleanrepo/ && git fast-import)
--anonymize上記が失敗した場合は、すべての識別情報を削除するために追加します..
--anonymize