Answers for "can i create a git repository via terminal"

6

git bash new repository

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
git clone url
git fetch
git push (to check)
Posted by: Guest on January-17-2021
0

Git create a new repository on the command line

echo "# alx-zero_day" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Kseperep1/alx-zero_day.git
git push -u origin main
Posted by: Guest on June-14-2021
0

can i create a git repository via terminal

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 September-17-2021

Code answers related to "can i create a git repository via terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language