
該存儲庫旨在介紹開源世界如何運作。使用此項目為GitHub上的開源項目做出了第一筆貢獻。在做真實的事情之前,練習將您的第一個拉動請求提交公共存儲庫!
確保在Hacktoberfest期間抓住一些很酷的贓物,通過參與開源社區並完成該項目中的一些簡單任務。
該存儲庫向GitHub社區的所有成員開放。任何成員都可以在不擔任合作者的情況下為該項目做出貢獻。
repo鏈接:helios1101.github.io/hacktoberfest'19/
數字海洋和開發社區與Github合作舉辦了為期一個月的慶祝活動,從10月1日至10月31日舉行了一次慶祝活動,使人們參與開源。在GitHub上為任何公共存儲庫創建您的第一個拉動請求,並為開源開發人員社區做出貢獻。
https://hacktoberfest.digitalocean.com/
要獲得官方限量版Hacktoberfest襯衫的資格,您必須在此處註冊並在10月1日至31日(在任何時區)之間進行四個拉動請求(PR)。 PR可以在Github上向任何公共回購做出,不僅是標有Hacktoberfest的問題。今年,完成挑戰的前50,000名參與者將獲得T卹。
這是三種快速簡便的方法來為該項目做出貢獻:
任務1:添加您的姓名和描述,將您的姓名添加到網站上,並使用描述並進入開源。
任務2:製作自己的投資組合頁面以分鐘為單位,與我們分享您自己的投資組合頁面,並與我們分享以更接近贓物
任務3:炫耀編碼技能可以幫助我們製作一個一站式的地方來查找必要的代碼和文章,這些Hello World和文章可能會因您選擇的任何語言而Dynamic Programming 。
選擇一個或全部3,提出您的工作請求,然後等待合併!
按下最高右上按鈕以開始您的美妙旅程,將倉庫播放。
您可以使用“叉子”按鈕或在屏幕的頂部點擊此叉按鈕,以獲取自己的叉子/副本。
NOTE: commands are to be executed on Linux, Mac, and Windows(using Powershell)
您需要使用(下載)使用(下載)使用
$ git clone https://github.com/Your_Username/HacktoberFest_20.git這使您的計算機中的存儲庫是本地副本。
將Github的HacktoberFest_20存儲庫克隆後,首先使用Linux,Mac和Windows上的Change Directory命令(將使用的PowerShell)移動到該文件夾。
# This will change directory to a folder HacktoberFest_20
$ cd Hacktoberfest_20移動此文件夾以獲取所有其他命令。
運行以下命令,以查看您的本地副本在GitHub中對您的分叉遠程存儲庫有一個引用
$ git remote -v
origin https://github.com/Your_Username/HacktoberFest_20.git (fetch)
origin https://github.com/Your_Username/HacktoberFest_20.git (push)現在,讓我們使用使用原始hacktoberfest_20存儲庫來添加參考
$ git remote add upstream https://github.com/helios1101/HacktoberFest_20.git這添加了一個名為上游的新遙控器。
使用
$ git remote -v
origin https://github.com/Your_Username/HacktoberFest_20.git (fetch)
origin https://github.com/Your_Username/HacktoberFest_20.git (push)
upstream https://github.com/Remote_Username/HacktoberFest_20.git (fetch)
upstream https://github.com/Remote_Username/HacktoberFest_20.git (push) In your case, you will see
$ git remote -V
origin https://github.com/Your_Username/HacktoberFest_20.git (fetch)
origin https://github.com/Your_Username/HacktoberFest_20.git (push)
upstream https://github.com/helios1101/HacktoberFest_20.git (fetch)
upstream https://github.com/helios1101/HacktoberFest_20.git (push)始終將存儲庫本地副本保留在原始存儲庫中。在進行任何更改和/或以適當的間隔進行任何更改之前,請仔細運行以下命令以更新本地存儲庫。
# Fetch all remote repositories and delete any deleted remote branches
$ git fetch --all --prune
# Switch to `master` branch
$ git checkout master
# Reset local `master` branch to match the `upstream` repository's `master` branch
$ git reset --hard upstream/master
# Push changes to your forked `HacktoberFest_20` repo
$ git push origin master完成這些步驟後,您可以通過檢查我們的Help Wanted問題並創建拉力請求來開始貢獻。
每當您要貢獻時。請使用命令創建一個單獨的分支,並保持master分支清潔(即與遠程分支同步)。
# It will create a new branch with name Branch_Name and switch to branch Folder_Name
$ git checkout -b BranchName創建一個單獨的分支來供款,並嘗試使用與文件夾相同的分支名稱。
切換到所需的分支
# To switch from one folder to other
$ git checkout BranchName將更改添加到分支。使用
# To add all files to branch Folder_Name
$ git add .輸入與代碼審閱者相關的消息
# This message get associated with all files you have changed
$ git commit -m ' relevant message '現在,將您的出色工作推向您的遠程存儲庫
# To push your work to your remote repository
$ git push -u origin BranchName最後,轉到瀏覽器中的存儲庫,然後單擊compare and pull requests 。然後將標題和描述添加到您的拉請請求中,以解釋您寶貴的努力。
我們喜歡用不同語言的articles和codes來betterment現有語言。
請首先通過創建新問題與我們討論。
? ? ?貢獻快樂? ? ?
該項目由: