Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cmd for pushing to github for the first time

echo "# {project_name}" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/{your_username}/{project_name}.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #cmd #pushing #github #time
ADD COMMENT
Topic
Name
9+3 =