在之前,我们已经搭好git环境。
那么现在我们尝试,向github提交项目。
First, we create a new java project and add to local git repository by share project aciton.
[Team -> Share Project ]
If you don’t have local repository, you need to create it.
then, you want to upload your code to github. You need to add your code file to stage first before you wanna commit your code.
After add index, you can commit. But after that, the file is still not in github , it just in your local
repository. so you need push it.
The complete flow for this is as below.