Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

github create a new repository on the command line

git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Username/Name_Of_Repo.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #github #create #repository #command #line
ADD COMMENT
Topic
Name
2+7 =