From e16cf4fe484c495b41f85802784ad731995c6f9f Mon Sep 17 00:00:00 2001 From: iProbe Date: Tue, 23 May 2023 13:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'Git/git=E5=9F=BA=E7=A1=80?= =?UTF-8?q?.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Git/git基础.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Git/git基础.md 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