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 remote add origin https://github.com/...
--git push -u origin master              #push commits to github

猜你喜欢

转载自www.cnblogs.com/dark-rebel/p/9291782.html
今日推荐