NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## 如何贡献项目 {#如何贡献项目} * 在 GitHub 上`fork`到自己的仓库,如 `xxx/prometheus_practice`,然后`clone`到本地,并设置用户信息。 ``` $ git clone git@github.com:xxx/prometheus_practice.git $ cd prometheus_practice $ git config user.name "yourname" $ git config user.email "your email" ``` * 修改代码后提交,并推送到自己的仓库。 ``` $ #do some change on the content $ git commit -m "Fix issue #1: change helo to hello" $ git push ``` * 在 GitHub 网站上提交 pull request。 * 定期使用项目仓库内容更新自己仓库内容。 ``` $ git remote add upstream https://github.com/songjiayang/prometheus_practice $ git fetch upstream $ git checkout master $ git rebase upstream/master $ git push -f origin master ```