diff --git a/Git/git基础.md b/Git/git基础.md new file mode 100644 index 0000000..3a92304 --- /dev/null +++ b/Git/git基础.md @@ -0,0 +1,16 @@ +## 配置 +```shell +# --global:全局配置,所有仓库生效 +# --system:系统配置,所有用户生效 +git config --global user.name "xxxxxx" +git config --global user.email "xxxxx" +# 存储用户名密码 +git config --global credential.helper store +# 查看 +git config --global --i +``` +## 创建 +```shell +git init +``` +## \ No newline at end of file