git基本命令使用

--global:全局配置,对所有仓库生效,用的比较多

 用户名:git config --global user.name "Jasper Yang"

邮箱: git config --global user.email geekhall.cn@gmail.com

保存 git config --global credential.helper store

查询  git config --global --list

 

 

创建仓库   本地初始化仓库  、远程克隆仓库2种方式:

 

 

 

 

 

 git工作原理

 

 

 

 

git status

 

 暂存区和工作区的文件

 

 

 

posted @ 2023-06-05 20:28  往事已成昨天  阅读(6)  评论(0编辑  收藏  举报