We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acc5b02 commit ead8743Copy full SHA for ead8743
python_advance/Git基础.md
@@ -40,6 +40,17 @@ git官网下载windows版本的, https://git-scm.com/downloads
40
41

42
43
+* 查看所有配置: git config -l
44
+* 查看系统配置:git config --system --list
45
+* 查看本地配置:git config --global --list
46
+* 配置用户名: git config --global user.name "XXX"
47
+* 配置邮箱: git config --global user.email "[email protected]"
48
+* 新建一个分支:git branch [branch-name]
49
+* 新建一个分支并切换到新的分支上:git checkout -b [branch]
50
+* 合并指定分支到当前分支:git merge [branch]
51
+* 删除分支: git branch -d [branch-name]
52
+* 删除远程分支:git push origin --delete [branch-name]
53
+
54
## 二、git使用
55
### 2.1、用git创建版本库
56
学习三个git命令:
0 commit comments