Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git push template

echo "Project_name_and_details" >> README.md
git init
git add README.md
git add /path/to/file #folders or files you want to add
git commit -m "first commit"
git branch -M main #Use if you dont want to use the master branch
git remote add origin https://github.com/username/project.git
git remote -v #Always good to check
git push -u origin main 
 
PREVIOUS NEXT
Tagged: #git #push #template
ADD COMMENT
Topic
Name
7+2 =