Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git steps for new repository

echo "# Portfolio" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/AyushUprety/Portfolio.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #git #steps #repository
ADD COMMENT
Topic
Name
2+6 =