
该存储库旨在介绍开源世界如何运作。使用此项目为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现有语言。
请首先通过创建新问题与我们讨论。
? ? ?贡献快乐? ? ?
该项目由: