пропадает возможность подгружать с удаленного репозитория, что логично
пушить это в гитхаб уже не имеет смысла, пути то локальные былилокальная ссылка только в основном репо. Сам модуль об этом не знает и прекрасно запушится куда угодно.
git log --pretty=fuller -1
commit bcf6d21998bdb3df548ef44d8321b1e992c73432 (HEAD -> unrelated-history)
Author: user <my@mail.here>
AuthorDate: Thu May 16 21:55:27 2024 +0700
Commit: user <my@mail.here>
CommitDate: Thu May 16 21:55:27 2024 +0700
fourth, "three"
git log --pretty=fuller -1
commit 842e0ff7cac1dd83a96eb0ab5c4c7d56f19f22c9 (HEAD -> rebase-no-key)
Author: user <my@mail.here>
AuthorDate: Thu May 16 21:55:27 2024 +0700
Commit: user <my@mail.here>
CommitDate: Tue May 21 19:10:45 2024 +0700
fourth, "three"
git log --pretty=fuller -1
commit 7a867a5debf72f8b0c34f08b3519c6bee72a81fb (HEAD -> rebase-with-key)
Author: user <my@mail.here>
AuthorDate: Thu May 16 21:55:27 2024 +0700
Commit: user <my@mail.here>
CommitDate: Thu May 16 21:55:27 2024 +0700
fourth, "three"
это неважно, важна исходная датаВидим, что исходная дата не меняется — 16 мая.
Debug/
~\IdeaProjects\testrep git:[unrelated-history]
git log
commit bcf6d21998bdb3df548ef44d8321b1e992c73432 (HEAD -> unrelated-history)
Author: user <my@mail.here>
Date: Thu May 16 21:55:27 2024 +0700
fourth, "three"
~\IdeaProjects\testrep git:[rebase-no-key]
git log
commit 842e0ff7cac1dd83a96eb0ab5c4c7d56f19f22c9 (HEAD -> rebase-no-key)
Author: user <my@mail.here>
Date: Thu May 16 21:55:27 2024 +0700
fourth, "three"
~\IdeaProjects\testrep git:[rebase-with-key]
git log
commit 7a867a5debf72f8b0c34f08b3519c6bee72a81fb (HEAD -> rebase-with-key)
Author: user <my@mail.here>
Date: Thu May 16 21:55:27 2024 +0700
fourth, "three"
Как раз это неважно, важна исходная дата.
Её и фиксирует ключ "--committer-date-is-author-date", как я понял
Ничего такого специально не делал. Все коммиты с одинаковой учеткой.
Сложность в том, что это ручной труд, которым придется заниматься какому-то человеку, тратить время, следить за репозиторием по ночам. Зачем? Если можно поручить всю рутину серверам гитхаба, которые сами соберут и выложат куда надо сразу после того, как какой-то разработчик просто отправит новый код в релизную ветку.