Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

can i create a git repository via terminal

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:alexpchin/<reponame>.git
git push -u origin master
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #create #git #repository #terminal
ADD COMMENT
Topic
Name
8+9 =