Skip to content

Instantly share code, notes, and snippets.

@xx745
Created November 22, 2021 11:22
Show Gist options
  • Save xx745/b3f4db6e4e2bfb5d5721077b21f2b192 to your computer and use it in GitHub Desktop.
Save xx745/b3f4db6e4e2bfb5d5721077b21f2b192 to your computer and use it in GitHub Desktop.
1. Add whatever you want to your folder, and open it in the terminal.
2. Run: git init
3. Run: git remote add origin <repo_url>
4. Run: git fetch origin
5. Run: git checkout -b main origin/main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment