Answers for "how to make something a git repository"

0

git create new repository

git clone https://github.com/myname/myapp.git
cd myapp
touch README.md
git add README.md
git commit -m "adds README"
git push -u origin master
Posted by: Guest on May-18-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
0

git create new repository

git clone https://github.com/myname/myapp.git
cd myapp
touch README.md
git add README.md
git commit -m "adds README"
git push -u origin master
Posted by: Guest on May-18-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

Code answers related to "how to make something a git repository"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language