Created
January 6, 2021 13:26
-
-
Save santosrai/89e27de2e5e58dc5f5ac38575710455f to your computer and use it in GitHub Desktop.
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
How to clone repository with specific commit? | |
1. View all commits and copy commithash | |
- git log | |
2. Clone repo | |
- git clone <url> | |
3. Goto Project folder | |
- cd $PROJECT_NAME | |
4. Checkout with commithash | |
- git checkout [commithash] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment