Twice now in git, I’ve meant to branch from master, but instead branched from my current branch by accident. This means that my pull request from the second branch included all of the commits in the first branch, which haven’t been merged yet.
Is there a way I can double check to confirm before branching from a non-master branch?
Why not supply a second parameter to
git checkout -b:The second parameter is where to branch from.