Commit 84addae
option: auto-detect default base branch from remote
Instead of hardcoding 'main' as the default base branch, use
git symbolic-ref to detect the remote's default branch. This
makes the tool work out of the box for repos using 'master' or
other default branch names. Falls back to 'main' if detection fails.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 206f4c3 commit 84addae
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
395 | 412 | | |
396 | 413 | | |
397 | 414 | | |
| |||
449 | 466 | | |
450 | 467 | | |
451 | 468 | | |
| 469 | + | |
452 | 470 | | |
453 | 471 | | |
454 | 472 | | |
455 | 473 | | |
456 | | - | |
457 | | - | |
| 474 | + | |
| 475 | + | |
458 | 476 | | |
459 | 477 | | |
460 | 478 | | |
| |||
0 commit comments