|
|
|
|
|
by johntash
501 days ago
|
|
> It seems with the git command line the way to do it is to switch to main then pull then switch back to my feature branch then rebase. In case you haven't figured it out yet, you can do `git fetch origin` to fetch the latest branches from origin. And then `git rebase origin/main` to rebase the current branch against origin/main. origin/main doesn't have to be the same as local `main` so you don't need to switch branches at all. |
|