Created
May 13, 2024 21:34
-
-
Save esedic/5c1912473a826bfecf196ae49fa0f57b to your computer and use it in GitHub Desktop.
Create Github repository from local folder and push files
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
1. Create repo named <your-repo-name-here> on Github | |
2. In the chosen folder execute this in your CLI: | |
git init | |
git add . | |
git commit -m "Initial commit" | |
git remote add origin https://github.com/esedic/<your-repo-name-here>.git | |
git branch -M main | |
git push -u origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment