Created
July 25, 2018 00:24
-
-
Save DharmendraRathor/20b3f758d56bad7be2cbcf3662342c93 to your computer and use it in GitHub Desktop.
Create new Git branch from Git commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create new branch from git commit withouth checkingout new branch | |
git branch newBranchName <commit-id> | |
Create new branch from git commit with checkingout new branch | |
git checkout -b newBranchName <commit-id> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment