Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git

echo "<message>" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <link>
git push -u origin main



…or push an existing repository from the command line

git remote add origin <>
git branch -M main
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #git
ADD COMMENT
Topic
Name
5+9 =