Commit b2b353c
authored
fix: use git add -u in merge script to avoid orphaned gitlinks (#1133)
## Summary
- Replace `git add -A` with `git add -u` in
`scripts/rebase-main-to-alpha.sh` (both occurrences on lines 67 and 87)
- `git add -A` stages all untracked content, including stray cloned
repositories in the worktree, which get recorded as orphaned gitlinks
that break ArgoCD sync
- `git add -u` only stages changes to already-tracked files, which is
the correct behavior during conflict resolution
Fixes #11311 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