https://git-scm.com/book/en/v2/Git-Branching-Rebasing

I believe git rebase must be done from the branch which is to be re-based.

So it's always necessary to git switch <branch-to-rebase>

It is not possible to go to git switch <master>

and then do git rebase <branch-to-rebase> etc

This will not work and go wrong correct ?!?

If so, then the documentation at this link is not clear:

https://git-scm.com/book/en/v2/Git-Branching-Rebasing

There are some re-base commands without a clear git switch 
<branch-to-rebase>

This makes it seems like it's possible to issue this command from any 
branch.

Documentation should be updated and make clear that user has to been on the 
branch that is to be rebased.

Bye,
  Skybuck.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/925660e3-4a00-497d-a10a-f198e30090ffn%40googlegroups.com.

Reply via email to