Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create new repository in git bash

echo "# BarProject" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Mahmoud-creator/BarProject.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #create #repository #git #bash
ADD COMMENT
Topic
Name
1+7 =