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
原文地址:https://www.cnblogs.com/dark-rebel/p/9291782.html
时间: 2024-11-13 05:27:07