Answers for "how to create a new repo from command line"

1

create new repo cli

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/<reponame>.git
git push -u origin master
Posted by: Guest on February-25-2021
1

create new repo cli

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/<reponame>.git
git push -u origin master
Posted by: Guest on February-25-2021
0

create a new repository on the command line

echo "# python_dailyPractice" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/G-M-A-Al/python_dailyPractice.git
git push -u origin main
Posted by: Guest on October-12-2021
0

create a new repository on the command line

echo "# python_dailyPractice" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/G-M-A-Al/python_dailyPractice.git
git push -u origin main
Posted by: Guest on October-12-2021

Code answers related to "how to create a new repo from command line"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language