Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git init command

echo "# repo-name" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <repo url>
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #git #init #command
ADD COMMENT
Topic
Name
4+4 =