1. Home
  2. Git
  3. Branch from a commit
#git

You can create a new branch from any previous commit by running the following code.

git branch new-branch-name {SHA-1 checksum of a commit}
copy
Full Git cheatsheet
Sitemap Git repository