You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(state-repo): use main as default branch and set git identity
- git init now uses --initial-branch=main to avoid creating master
- gitBaseEnv sets GIT_AUTHOR/COMMITTER_NAME/EMAIL to prevent
"Author identity unknown" errors on commit and merge
- Extract adoptRemoteHistoryIfOrphan to state-repo/adopt-remote.ts
to satisfy max-lines lint rule
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
// CHANGE: align local history with remote when histories have no common ancestor
215
-
// WHY: prevents creation of new branches when local repo was git-init'd without cloning (divergent root commits)
216
-
// QUOTE(ТЗ): "у нас должна быть единая система облака в виде .docker-git. Новая ветка открывается только тогда когда не возможно исправить конфликт и сделать push в main"
// CHANGE: align local history with remote when histories have no common ancestor
8
+
// WHY: prevents creation of new branches when local repo was git-init'd without cloning (divergent root commits)
9
+
// QUOTE(ТЗ): "у нас должна быть единая система облака в виде .docker-git. Новая ветка открывается только тогда когда не возможно исправить конфликт и сделать push в main"
0 commit comments