Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
c0fe9c4d
Commit
c0fe9c4d
authored
Nov 13, 2018
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改描述
parent
7a03ab8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
Makefile
Makefile
+22
-0
README.md
README.md
+32
-0
No files found.
Makefile
View file @
c0fe9c4d
...
@@ -229,3 +229,24 @@ auto_ci: clean fmt_proto fmt_shell protobuf
...
@@ -229,3 +229,24 @@ auto_ci: clean fmt_proto fmt_shell protobuf
fi
;
fi
;
addupstream
:
git remote add upstream https://github.com/33cn/plugin.git
git remote
-v
sync
:
git fetch upstream
git checkout master
git merge upstream/master
branch
:
make
sync
git checkout
-b
${
b
}
push
:
@
if
[
-n
"
$$
m"
]
;
then
\
git commit
-a
-m
"
${
m
}
"
;
\
fi
;
make
sync
git checkout
${
b
}
git merge master
git push origin
${
b
}
\ No newline at end of file
README.md
View file @
c0fe9c4d
...
@@ -38,3 +38,35 @@ make
...
@@ -38,3 +38,35 @@ make
为了解决包依赖等问题,我们直接提供了vendor目录。
为了解决包依赖等问题,我们直接提供了vendor目录。
## 贡献代码:
详细的细节步骤可以见 https://github.com/33cn/chain33
这里只是简单的步骤:
#### 准备阶段:
*
首先点击 右上角的 fork 图标, 把chain33 fork 到自己的分支 比如我的是 vipwzw/plugin
*
`git clone https://github.com/vipwzw/chain33.git $GOPATH/src/github.com/33cn/plugin`
```
注意:这里要 clone 到 $GOPATH/src/github.com/33cn/chain33, 否则go 包路径会找不到
```
clone 完成后,执行
```
make addupstream
```
#### 创建分支准备开发新功能
```
make branch b=branch_dev_name
```
#### 提交代码
```
make push b=branch_dev_name m="hello world"
```
如果m不设置,那么不会执行 git commit 的命令
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment