Aim of this repository is to help someone to learn, participate in Hacktober and contribute their code. Any Program in any language accecpted. If you can explain your code with submission of it that would be better for beginners to understand. This is the platform to share your code. So, share it.
- Must have a github account.
- Latest git software must be installed.
- Knowledge of git and github.
- Knowledge about some programming languages to contribute.
- Coding IDE (recommended VS Code).
Hacktoberfest, in its 8th year, is a month-long celebration of open source software run by DigitalOcean. During the month of October, we invite you to join open-source software enthusiasts, beginners, and the developer community by contributing to open-source projects. You can do this in a variety of ways:
- Prepare and share your project for collaboration
- Contribute to the betterment of a project via pull requests
- Organize an event
- Mentor others
- Donate directly to open source projects
https://hacktoberfest.digitalocean.com/
If you liked working on this repo, please share this repo as much as you can and star this repo to help as many people in opensource as you can.
You can fork repository in which you want to contribute. fork:- (means) it create a copy of repository in your account to commit.
after forking type following command in terminal to clone in your pc
git clone https://github.com/user-name/Hacktober2020.git
replace user-name with your github username
or
you can get a link from green button click to copy that link that link must be from your own forked copy.
Type following command in terminal window
git checkout -b new-branch-name
Once you have completed these steps, you are ready to start contributing whatever programming language you know, you can contribute your code in that. However, Your code files must be in respective folder. By doing this repository will be organized and well maintained. hope you follow this. I'll add your namme in contributors list as you start contibuting.
Type following commands
git add .
git commit -m "message about commit"
Next, you’ll have to specify a new remote upstream repository for us to sync with the fork. This will be the original repository that you forked from. You’ll have to do this with the git remote add
command.
git remote add upstream https://github.com/ALLINONE4298/Hacktober2021.git
In this example, upstream
is the shortname we have supplied for the remote repository since in terms of Git, “upstream” refers to the repository that you cloned from. If you want to add a remote pointer to the repository of a collaborator, you may want to provide that collaborator’s username or a shortened nickname for the shortname.
To get latest code Type following command
git pull upstream main
Type following command
git push --set-upstream origin new-branch-name
At this point, you are ready to make a pull request to the original repository.
You should navigate to your forked repository, and press the “New pull request” button on your left-hand side of the page.
If there is no merge conflict then owner will merge your pull request. Have patience and contribute more.
This is Just for Beginners to help for their contributions and make them familiar with open source. This is a free platform to make mistakes and learn from them.