## 如何貢獻
# 如何貢獻
小于 1 分鐘約 224 字
* * *
* [
排版規范
](https://vuepress.mirror.docker-practice.com/CONTRIBUTING/#排版規范)
領取或創建新的[Issue(opens new window)](https://github.com/yeasy/docker_practice/issues),如[issue 235(opens new window)](https://github.com/yeasy/docker_practice/issues/235),添加自己為`Assignee`。
在[GitHub(opens new window)](https://github.com/yeasy/docker_practice/fork)上`fork`到自己的倉庫,如`docker_user/docker_practice`,然后`clone`到本地,并設置用戶信息。
~~~
$ git clone git@github.com:docker_user/docker_practice.git
$ cd docker_practice
~~~
1
2
3
修改代碼后提交,并推送到自己的倉庫,注意修改提交消息為對應 Issue 號和描述。
~~~
# Update the content
$ git commit -a -s
# In commit msg dialog, add content like "Fix issue #235: describe ur change"
$ git push
~~~
1
2
3
4
5
6
7
在[GitHub(opens new window)](https://github.com/yeasy/docker_practice/pulls)上提交`Pull Request`,添加標簽,并邀請維護者進行`Review`。
定期使用項目倉庫內容更新自己倉庫內容。
~~~
$ git remote add upstream https://github.com/yeasy/docker_practice
$ git fetch upstream
$ git rebase upstream/master
$ git push -f origin master
~~~
1
2
3
4
5
6
7
## [#](https://vuepress.mirror.docker-practice.com/CONTRIBUTING/#排版規范)排版規范
本開源書籍遵循[中文排版指南(opens new window)](https://github.com/mzlogin/chinese-copywriting-guidelines)規范。
- 說明
- git配置
- git與github的關系
- 基礎概念
- git命令
- git init
- git status
- git diff
- git log
- git reflog
- git add
- git commit
- git reset
- git checkout
- git rm
- git stash
- git remote
- git push
- git clone
- git branch
- git fetch
- git merge
- git rebase
- git pull
- git tag
- 建立版本庫
- 分支合并
- 遠程庫別名
- Pull requests
- 擴展知識
- 功能文件
- 差異看法
- 注意細節
- github移動端
- git工作系統理解
- 倉庫嵌套問題
- 倉庫的使用問題
- 常用命令
- 學習資料
- 學習總結
- 示例文件
- README.md
- CONTRIBUTING.md
- .gitignore
- coding
- 大小寫問題
- 如何貢獻
- 使用賬號密碼clone
- git目錄分析
- HEAD
- 代碼部署問題
- 開發流程
- 指定公鑰文件