添加 'Git/git基础.md'
This commit is contained in:
parent
ab2cce88af
commit
e16cf4fe48
1 changed files with 16 additions and 0 deletions
16
Git/git基础.md
Normal file
16
Git/git基础.md
Normal file
|
@ -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
|
||||||
|
```
|
||||||
|
##
|
Loading…
Add table
Add a link
Reference in a new issue