Commit dcf2a42
authored
feat: custom remote branch path support option for
It adds support for using a custom remote branch path like
`<origin>/<master>` when wanting to switch to a specific remote
branch. It makes it easier to switch between multiple remote branches
apart from the current one (e.g., `origin`).
The `-r, --remote-branch` option requires the `-u, --upstream` to be
provided together.
```
# Using it with `-u, --upstream`
move --upstream --remote-branch my-remote/my-branch
move -u -r my-remote/some/branch
move -ur my-remote/my-branch
# Using it with `-n, --no-apply-stash`
move -nur my-remote/my-branch
move -unr my-remote/some/branch
```move command (#58)1 parent 91bda1d commit dcf2a42
2 files changed
Lines changed: 36 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| 362 | + | |
| 363 | + | |
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
| |||
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
| 373 | + | |
| 374 | + | |
371 | 375 | | |
372 | 376 | | |
373 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
374 | 385 | | |
375 | 386 | | |
376 | 387 | | |
| |||
382 | 393 | | |
383 | 394 | | |
384 | 395 | | |
| 396 | + | |
385 | 397 | | |
386 | 398 | | |
387 | 399 | | |
388 | 400 | | |
389 | 401 | | |
390 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
391 | 408 | | |
392 | 409 | | |
393 | 410 | | |
| |||
414 | 431 | | |
415 | 432 | | |
416 | 433 | | |
417 | | - | |
418 | | - | |
419 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
420 | 446 | | |
421 | 447 | | |
422 | 448 | | |
| |||
0 commit comments