
為那些想為git倉庫做出貢獻的人。您可以創建問題(“打招呼,表達功能或錯誤”等),也可以添加鏈接到您想共享的Internet上發現的文章,網站或圖片的鏈接。
在Github上創建項目的個人叉。
克隆本地機器上的叉子。您在github上的遠程存儲庫稱為origin 。
將原始存儲庫添加為稱為upstream遙控器。
如果您不久前創建了叉子,請確保將上游更改為本地存儲庫。
創建一個新的分支機構! master 。
用Git的互動式重新組合將您的承諾壓入單一的承諾中。如有必要,創建一個新的分支。
將分支推到遠程origin GitHub上的叉子。
從您的叉子中,在正確的分支中打開拉動請求。針對項目的master !
...
一旦批准拉請請求並合併,您就可以將更改從upstream到本地存儲庫並刪除您的額外分支(ES)。
最後但並非最不重要的一點是:始終以當前時態寫下您的提交消息。您的提交消息應描述對代碼應用時的提交所做的事情,而不是您對代碼所做的工作。 ?
**如果您覺得本指南難以理解,請提出問題,解決問題或在Twitter上告訴我。
注意 - 所有不合適的添加都將被拒絕(例如,鏈接到色情內容...等) 。
更改的貢獻指南:Marcdiethelm
git clone: This will clone the original code, example: git clone git branch: This allows you to make changes without affecting other contributors code, example: git branch 'name-of-the-branch-you-want' git checkout:This allows you to switch to the branch you just created, example: git checkout git remote add upstream: Lets you add the original repo as upstream git commit -m: This helps you commit the code, example: git commit -m “將git命令添加到readme.md文件中” git push origin -u:允許您在線推動原始倉庫,即github,示例:git push oinct oinct -u git add。 :允許您將所做的更改保存到本地的git存儲庫中。