Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to create a local repository and push to github repository

echo "# kiels-excel-sheets" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/kielSDeM/kiels-excel-sheets.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #How #create #local #repository #push #github #repository
ADD COMMENT
Topic
Name
4+7 =