第一步 安装git
如果安装了就直接第二步
https://blog.csdn.net/luo609630199/article/details/81330800
第二步 idea安装gitee插件
https://blog.csdn.net/gozhuyinglong/article/details/88018053
第三步 遇到的一些问题
1、remote: Incorrect username or password ( access token ) fatal: Authentication failed for 'https:/...
解决方法:https://www.jianshu.com/p/6dcfe7bf0797
这个错误的可能原因应该是之前用过gitee,然后由于改了密码,导致凭据失效,改掉就好了
2、Remote with selected name already exists
解决方法:https://blog.csdn.net/luo609630199/article/details/81330853