Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Terminal commands to push a file to Github

echo "# CH-Edus" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/psybenny/CH-Edus.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Terminal #commands #push #file #Github
ADD COMMENT
Topic
Name
9+2 =