Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git - upload local folder to git repo

cd yourLocalFolder
git init
git remote add origin https://github.com/<yourLogin>/<yourRepository>.git
git add .
git commit -m "Initial commit"
git push -u origin master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #upload #local #folder #git #repo
ADD COMMENT
Topic
Name
1+2 =