caipkw
Last Updated: February 25, 2016
·
364
· nicolaslazartekaqui
Img 3566

Git - Create branch specifying commit

git

Using commit hash

$ git branch <branchname> <sha1-of-commit>

or using HEAD like reference

$ git branch <branchname> HEAD~3

In this last example, is created a branch three modifications less of the head.

Say Thanks
Respond