Created
February 2, 2023 16:20
-
-
Save rastislavcore/9a4fa86daf35d3fa592e0c090aa213ae to your computer and use it in GitHub Desktop.
Initiate empty Git repository with the Readme file
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
#!/bin/bash | |
echo "# Readme" >> README.md | |
git init | |
git add Readme.md | |
git commit -m "Readme file" | |
git branch -M main | |
git remote add origin [email protected]:username/repo.git | |
git push -u origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment