Answers for "how to create a github repo on linux command line"

0

git add existing project to repository

git remote add origin <repository url>
git branch -M main
git push -u origin main
Posted by: Guest on December-28-2020
0

initialize a repo and push to github

git init
git add -A
git commit -m 'Added my project'
git remote add origin [email protected]:sammy/my-new-project.git
git push -u -f origin master
Posted by: Guest on December-01-2020
0

how to create a github repo on linux command line

curl -i -H 'Authorization: token <your_token>' -d '{"name":"csreNewProj"}' https://api.github.com/user/repos
Posted by: Guest on January-10-2021

Code answers related to "how to create a github repo on linux command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language