反转基因福娃 发表于 2022-8-13 02:15:17

配置SSM公钥及创建远程仓库和在IEDA中集成git操作

https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625202101979-1863568701.png 
 https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625202210025-1968515088.png
 
 
 3.将.ssh下的id_rsa.pub公钥copy到gitee工作台中
https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625202239882-923341858.png
 
 
 
4.创建个人仓库
https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625202332154-95219571.png
 
 
 

https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625202045099-1004355970.png
5.设置开源许可证:开源是否可以随意转载,开源但是不能商业使用,不能转载,… 限制!
https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625202425653-590282219.png
 
 
 6.克隆到本地!
https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625202451324-248026441.png
 
 
IDEA集成Git

1、新建项目,绑定git。
将我们远程的git工程里面的文件目录拷贝到目标项目即可!
 https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625223148191-2020605786.png 
 注意观察前后idea中的变化,成功后显示git图标。
https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625223222828-1017167726.png
 
 https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625223228964-1331870146.png
 
 注意颜色变化,此时红色是说明文件修改没有暂存Modified状态
git add . #提交到暂存区
https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625223303343-1428057136.png
 
 
 git commit #提交到本地仓库
 git commit -m “消息”
 git push #提交到远程仓库
https://img2022.cnblogs.com/blog/2907527/202206/2907527-20220625223344016-1460562867.png
 
 
2、修改文件,使用IDEA操作git。

[*]添加到暂存区
[*]commit 提交
[*]push到远程仓库
3、提交测试
 
 

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
页: [1]
查看完整版本: 配置SSM公钥及创建远程仓库和在IEDA中集成git操作