Answers for "how to push to github.com"

1

push to github

git init
git add .
git commit -m "first commit"
create a new repository on the command line
git branch -M main
git remote add origin remote_repository_URL
git push -u origin main
push an existing repository from the command line
git remote add origin remote_repository_URL
git branch -M main
git push -u origin main
Posted by: Guest on March-01-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language