Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bipon68/78f2438fddac435dc35d90e66b50c88a to your computer and use it in GitHub Desktop.
Save bipon68/78f2438fddac435dc35d90e66b50c88a to your computer and use it in GitHub Desktop.
create a new repository on the command line
…or create a new repository on the command line
echo "# phang-nga-hospital-frontend" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/MiracleAdvanceTechnologies/phang-nga-hospital-frontend.git
git push -u origin main
…or push an existing repository from the command line
git remote add origin https://github.com/MiracleAdvanceTechnologies/phang-nga-hospital-frontend.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