How to Create a Git branch from a Commit Example

preview_player
Показать описание
This quick example of how to create a Git branch from a commit id demonstrates how to easy it is to do Git branching, even if a previous commit is where the Git branch needs to be created.

What's the command do a git branch create on a commit? Here it is:

git branch branchname commit id

The creation of a Git branch from a commit really couldn't be easier!
Рекомендации по теме
Комментарии
Автор

Thank you so much. This helps a lot for a git beginner!

yishsieh
Автор

my commit id's from logs vs ui never seem to match

jrib