File tree Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,14 @@ $ git config --global user.name "John Doe"
124
124
$ git config --global user.email johndoe@example.com
125
125
```
126
126
127
+ 查看配置列表
128
+
129
+ ``` shell
130
+ $ git config --list
131
+ ```
132
+
133
+
134
+
127
135
## 基础操作
128
136
129
137
在指定目录创建仓库,如果没有指定目录名将在当前目录创建仓库
@@ -150,13 +158,13 @@ $ git clone https://github.com/frank-lam/2019_campus_apply.git .
150
158
将文件或目录中已修改的代码添加追暂存区
151
159
152
160
``` shell
153
-
161
+ $ git add < 目录名 | 文件名 >
154
162
```
155
163
156
164
提交暂存区内容
157
165
158
166
``` shell
159
-
167
+ $ git commit -m " <注释> "
160
168
```
161
169
162
170
查看仓库状态
Original file line number Diff line number Diff line change @@ -546,6 +546,18 @@ crontab 文件的每一行均遵守特定的格式,由空格或 tab 分隔为
546
546
547
547
548
548
549
+
550
+
551
+ ### 应用场景:定时备份MySQL数据库
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
549
561
** 参考资料** :
550
562
551
563
- [ crontab命令_Linux crontab 命令用法详解:提交和管理用户的需要周期性执行的任务] ( http://man.linuxde.net/crontab )
Original file line number Diff line number Diff line change @@ -91,4 +91,9 @@ XX – 20。
91
91
92
92
93
93
94
- <a target =" _blank " href =" https://weibo.com/frankfeekr " rel =" nofollow " style =" display :none " ><img src =" https://img.shields.io/badge/Sina-Lam__Frank-orange.svg " alt =" 新浪微博 " data-canonical-src =" " style =" max-width :100% ;" ></a >
94
+ <a target =" _blank " href =" https://weibo.com/frankfeekr " rel =" nofollow " style =" display :none " ><img src =" https://img.shields.io/badge/Sina-Lam__Frank-orange.svg " alt =" 新浪微博 " data-canonical-src =" " style =" max-width :100% ;" ></a >
95
+
96
+
97
+
98
+ Free Logo Maker - Create your own logo in minutes!
99
+ https://logomakr.com/
You can’t perform that action at this time.
0 commit comments