Answers for "push code to new repo"

4

git push existing code to new repository

git remote add origin <remote repository URL>
Posted by: Guest on May-28-2020
0

How to push to a new repositiory in github

echo "# book-website" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/vincentovie39/book-website.git
git push -u origin main
Posted by: Guest on February-05-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language