Last active
May 30, 2022 06:25
-
-
Save mykt0ngc0/6af606d205e86d1e922eca68291c64f6 to your computer and use it in GitHub Desktop.
Clone a repo to non-empty local directory
This file contains hidden or 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
| git init | |
| git remote add origin PATH/TO/REPO | |
| git fetch | |
| git checkout -t origin/dev -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment