Commit 7fddba2
use "git add -u" in merge script
"git add -A" stages all untracked content, including stray
cloned repositories that happen to exist in the worktree.
These get recorded as orphaned gitlinks, which break ArgoCD
sync because the referenced submodule commits do not exist
in the remote.
"git add -u" limits staging to already-tracked files, which
is the correct intent during conflict resolution.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d259f02 commit 7fddba2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments