Move some commits to a separate branch that I have accidentally committed to master

Share this video with your friends

Send Tweet

Gosh no, I just added all of these commits to master. They were thought to be peer reviewed first in a dedicated branch! No worries, in this lesson we’re going to see a couple of commands that will help you move your commits into a dedicated feature branch.

Note: This only holds if you did not yet push your changes to the remote repository

Adrien  Giboire
Adrien Giboire
~ 2 years ago

Where is the snippet you invite people to copy/paste to format the output? ;)

Adrien  Giboire
Adrien Giboire
~ 2 years ago

Forget what I just said, it moved to the next video and I got confused with this transcript overlooking for something that looked like it without really reading the content, which would have make me realize I was in the wrong place.