hi there
If I have n commits, how can I branch from the n-3 commit? I can see the hash of every commit.
hi there
If I have n commits, how can I branch from the n-3 commit? I can see the hash of every commit.
You can create the branch via hash,
git branch branchname <sha1-of-commit>
or by using a symbolic ref.
git branch branchname HEAD~3