Commit 1beb775
committed
Set upstream tracking when creating worktree for existing local branch
When a local branch already exists and a matching remote branch is
found, the worktree was created without configuring upstream tracking.
This meant git pull/push required manual upstream setup.1 parent 9dc946e commit 1beb775
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments