Import project to Github

Go to the project directory. Right click, --Git bash here

--git init                                               #creates .git
--git add README.md               #adds files you want to track
--git add .                 #add all files under the directory
--git commit -m "first commit"            #commit the changes

--git pull origin master

--git remote add origin https://github.com/...
--git push -u origin master                #push commits to github

posted @ 2018-07-10 22:13  RebelRider  阅读(179)  评论(0)    收藏  举报