Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create a new repository on the command line

# create a new repository on the command line

echo "# README" >> README.md
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:AnassAzeroual/bash-basic-scripts.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #create #repository #command #line
ADD COMMENT
Topic
Name
2+3 =