Answers for "creating repo from the 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 repository on the command line

git init
git add README.MD
git commit -m "commit message"
git remote add origin git url_of_github_repo
git push origin master
Posted by: Guest on June-08-2020
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 "# Assignment-4" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/MinhajSiam/Assignment-4.git
git push -u origin main
Posted by: Guest on May-07-2021
1

create new repository on the command line

git init
git add README.MD
git commit -m "commit message"
git remote add origin git url_of_github_repo
git push origin master
Posted by: Guest on June-08-2020
0

create a new repository on the command line

echo "# Assignment-4" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/MinhajSiam/Assignment-4.git
git push -u origin main
Posted by: Guest on May-07-2021

Code answers related to "creating repo from the command line"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language