Skip to content

Commit 9635414

Browse files
committed
update
1 parent 01c80c9 commit 9635414

File tree

3 files changed

+61
-2
lines changed

3 files changed

+61
-2
lines changed

00-前端工具/01-Git的使用.md

+18
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,24 @@ git自动合并成功。不管是git自动合并成功,还是在人工解决
128128

129129

130130

131+
132+
### 修改已经push的某次commit的作者信息
133+
134+
已经push的记录,如果要修改作者信息的话,只能 通过--force命令。
135+
136+
参考链接:
137+
138+
139+
- [git 修改已提交的某一次的邮箱和用户信息](https://segmentfault.com/q/1010000006999861)
140+
141+
看最后一条答案。
142+
143+
- [修改 git repo 历史提交的 author](http://baurine.github.io/2015/08/22/git_update_author.html)
144+
145+
146+
147+
148+
131149
### `branch1`的某个`commit1`合并到`branch2`当中
132150

133151
切换到branch2中,然后执行如下命令:

00-前端工具/05-Atom在前端的使用.md

+18
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,24 @@ apm install --check
6565
- <https://zhenyong.github.io/2016/08/03/starting-atom/>
6666

6767

68+
## Markdown相关
69+
70+
### 在编辑器中预览
71+
72+
2018-06-JD日记.md
73+
74+
Packages -> Markdown Preview -> Toggle Preview
75+
76+
快捷键:Shift + Ctrl + M
77+
78+
79+
80+
### 参考链接:
81+
82+
- [使用Atom打造无懈可击的Markdown编辑器](http://www.cnblogs.com/fanzhidongyzby/p/6637084.html)
83+
84+
85+
6886

6987

7088
## 相关设置

20-前端综合/2018年-前端日记.md

+25-2
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ v-on:keyup="querysku = querysku.replace(/\D/,'')"
109109
"1492948848": {
110110
"3": "1",
111111
"spec": "",
112-
"imagePath": "jfs/t3076/90/7623078170/152165/9fe8c39d/58b94105N8ed8d2c0.jpg",
112+
"imagePath": "hehe.jpg",
113113
"color": "橘色 ",
114114
"name": "【多色可选】丽装铺园纯色百搭简约打底T恤女 橘色 M",
115115
"size": "M"
116116
},
117117
"1492948847": {
118118
"3": "1",
119119
"spec": "",
120-
"imagePath": "jfs/t3109/27/9469817576/176241/aa424d04/58d4c849Ne22114ed.jpg",
120+
"imagePath": "lala.jpg",
121121
"color": "灰色 ",
122122
"name": "【多色可选】丽装铺园纯色百搭简约打底T恤女 灰色 S",
123123
"size": "S "
@@ -237,6 +237,29 @@ git cherry-pick myLog
237237

238238

239239

240+
### 2018-06-27
241+
242+
没想到,`''``' '`竟然还有区别。
243+
244+
245+
246+
### 2018-06-30
247+
248+
**并列条件**
249+
250+
来看下面这段代码:
251+
252+
```javascript
253+
var num = 80;
254+
console.log(50 < num <= 70);
255+
```
256+
257+
上面的代码,你认为打印的结果是什么?其他,它打印的结果是 true。
258+
259+
如果我们要实现并列条件,千万不要使用 `if(50 < num < 70)`,而是要使用`if(num > 50 && num <=70)`
260+
261+
262+
240263

241264

242265

0 commit comments

Comments
 (0)