git就想一把剑,而Gitee和GitHub就像是一把弓,仓库就像是靶子。
目录
1、使git和Gitee关联(Please make sure you have the correct access rights and the repository exists的问题解决)
一、git和Gitee的结合
1、使git和Gitee关联(Please make sure you have the correct access rights and the repository exists的问题解决)
前提:
git config --global user.name “名字”
git config --global user.email "你的@email.com"
①找到系统文件id_rsa.pub
②打开git
③ 把第一步里面的d_rsa.pub文件里面的密钥复制到Gitee或者GitHub上面
二、idea提交项目
前提
下载好gitee插件,配置好了全局git
1、创建好自己的本地仓库
2、添加暂存区和本地库
3、提交到本地库之后就push提交
这里的URL就是你要提交的仓库