目录
前言
以下操作都是基于你已经下载了Git的前提下进行的,Git的下载操作是很简单的。而且配置的远程仓库是gitee的,github比较方便,毕竟有单独的模块。
1.创建Git仓库,获得可提交渠道
首先,创建一个Git仓库

注:此时上面是没有Git栏的。
2.选择本地提交的项目名

3.配置远程仓库的地址
法一:一般第一次在idea配置git的用户可以享受到。

注:第一次配置显示的应该是define remote;我上面显示的是entry repository,需要使用方法二。
法二:步骤较多
点击顶栏的Git(VCS变了),点击Manage Remotes

4.新增远程仓库地址
这里法一和法二是一样的,也就上面不同。
先创建一个gitee仓库,然后拷贝地址

然后把地址复制到这里

完成标志

5.开始进行commit操作
commit:本地提交
commit and push:远程仓库提交

无视警告,进行提交

最后push

push完成

但是push被拒绝了

6.push由于邮箱问题被拒绝的解决方法:
进入设置->邮箱管理->关闭不公开邮箱

后记
如果不需要git了,可以在file->setting中取消,操作如下:

最后,希望我的文章对你有所帮助!