Closed drmercer-lucid closed 2 years ago
yeah let me check -- dropping just one argument works too: https://learngitbranching.js.org/?NODEMO&command=git%20checkout%20-b%20foo;%20git%20clone;%20git%20fakeTeamwork%20foo;%20gc;%20git%20pull%20--rebase%20foo
this is due to my incredibly horrible argument parsing logic that attaches origin
to the --rebase
option rather than including it in general args :P
added a test for now!
Expected behavior: this sequence of commands works:
Actual behavior:
Note: omitting the last two arguments to
git pull --rebase
works as expected, andgit pull origin main
(i.e. without rebase) works to do a merge-pull. So I think there's a specific problem with parsing the<repository>
and<branch>
arguments when--rebase
is supplied.