gitHow to create a branch from a specific commit
git checkout -b branchname SHA1Hashctrl + c| -b create a new branch and switch to it | branchname name for your new branch | 
| SHA1Hashhash of the commit you want the branch to start from | |
More of Git
- Remove an existing remote
- How to update forked repository from master
- How to delete local branch
- How to undo "git add" before commit
- How to rename local branch
- How to revert repository back to last commit
- How to untrack a file
- How to list not yet pushed commits
- How to list all commits
- How to compare two branches
See more codes...