【IDEA】Git的配置与使用:


一、IDEA配置:

git版本:2.19及以上

git升级版本:
【1】git update
【2】git update-git-for-windows
【3】重新下载新版本安装包,覆盖安装即可(不用在配置了)

git: 'update' is not a git command
git: 'update-git-for-windows' is not a git command
原因:2.14.1及之前版本的git 并没有update这两个命令

在这里插入图片描述

二、获取git仓库:

【1】方式一:本地初始化仓库

在这里插入图片描述
在这里插入图片描述

【2】方式二:从远程仓库克隆

在这里插入图片描述

在这里插入图片描述

【3】查看分支:

点击右下角的master

在这里插入图片描述

扫描二维码关注公众号,回复: 14767112 查看本文章
【4】代码提交:

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_53791978/article/details/129448117