1.点击VCS 2. 点击“Create Gir Repository" 3. 点击ok 4.可以看到未上传的文件为红色 5. 右击项目 6. 7. 8.点击“ Define remote" 这样就上传完成了