创建仓库
在 github, gitee 这样的平台上,创建一个仓库,注意不要初始化仓库
配置项目
- 创建项目的时候, cvs 选择 git 工具。
- tool -> git -> remote repo -> manage remote , 在这个里面添加仓库地址,注意名称必须为 origin.
使用
- tool -> git -> local repo -> commit, 勾选文件,写说明。
- tool -> git -> remote repo -> push, 提交. 当然第一次的时候,需要使用 cmd 输入
git push --set-upstream origin master