mirror of
https://github.com/OBKoro1/autoCommit.git
synced 2024-12-22 17:19:19 +08:00
issue
This commit is contained in:
parent
979b53a49e
commit
abe2349cae
36
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
36
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
### 注意:
|
||||
|
||||
1. 请先阅读文档: [使用须知](https://github.com/OBKoro1/autoCommit/wiki/%E4%BD%BF%E7%94%A8%E9%A1%BB%E7%9F%A5)(可能该问题已在文档中有过说明)
|
||||
2. 搜一搜以前关闭的issue看有没有相似的问题可以帮助解决问题。
|
||||
3. issue提的越清晰,越容易定位问题/找到bug,越快速的解决问题。
|
||||
|
||||
#### 描述bug(必填)
|
||||
一个清楚而简洁的bug描述。
|
||||
|
||||
#### 插件运行日志(必填):
|
||||
|
||||
```js
|
||||
// 日志内容
|
||||
```
|
||||
|
||||
#### 程序运行参数(必填):
|
||||
|
||||
```js
|
||||
// 参数
|
||||
```
|
||||
|
||||
#### 怀疑可能是哪里出现问题
|
||||
|
||||
#### 屏幕截图(选填)
|
||||
|
||||
如果方便的话,添加截图来帮助解释你的问题:
|
||||
|
||||
#### 问题相关(选填)
|
||||
|
||||
比如`git`的状态: 分支、merge等
|
19
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
19
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**您的特性请求是否与问题相关?请描述**
|
||||
|
||||
清楚而简明地描述问题所在,当...不能做到的时候,我总是很沮丧。
|
||||
|
||||
**描述一下你想要的解决方案.**
|
||||
|
||||
对你想要发生的事情的清晰而简明的描述。
|
||||
|
||||
**描述你考虑过的备选方案**
|
||||
对您考虑过的任何替代解决方案或特性的清晰而简明的描述。
|
||||
|
||||
**其他相关**
|
||||
在这里添加关于特性请求的任何其他上下文或屏幕截图。
|
BIN
images/.DS_Store
vendored
BIN
images/.DS_Store
vendored
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
* Author : OBKoro1
|
||||
* Date : 2019-12-30 16:59:30
|
||||
* LastEditors : OBKoro1
|
||||
* LastEditTime : 2020-01-02 22:15:59
|
||||
* LastEditTime : 2020-01-04 11:14:22
|
||||
* FilePath : /autoCommit/src/models/commitHandle.ts
|
||||
* Description : commit 具体操作
|
||||
* https://github.com/OBKoro1
|
||||
@ -114,7 +114,7 @@ class CommitHandle {
|
||||
try {
|
||||
// 异步执行命令 让出线程 打印日志 等
|
||||
commitMsg = await new Promise((resolve, reject) => {
|
||||
let cmd = `cd ${this.paramsObj.itemSrc} && git add . && git commit -m 'autoCommit' --date='${time}' && git pull && git push`;
|
||||
let cmd = `cd ${this.paramsObj.itemSrc} && git add . && git commit -m '${this.paramsObj.commitMsg}' --date='${time}' && git pull && git push`;
|
||||
exec(cmd, (error, stdout, stderr) => {
|
||||
if (error) {
|
||||
outputLog(`执行命令出错:${cmd}`);
|
||||
|
@ -36,7 +36,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item class="form_item" prop="commitMsg">
|
||||
<label slot="label">
|
||||
<el-tooltip class="item" content="commit信息" placement="top-start">
|
||||
<el-tooltip class="item" content="每个提交的统一commit message" placement="top-start">
|
||||
<span>commit信息 :</span>
|
||||
</el-tooltip>
|
||||
</label>
|
||||
|
Loading…
Reference in New Issue
Block a user