Hacktoberfest 2024 OPEN FIRST Pull Request - SUPPORT OPEN SOURCE
🗣 Hacktoberfest encourages participation in the open-source community, which grows bigger every year. Complete the challenge as a part of your opensource journey.
📢 Register here for Hacktoberfest and make four pull requests (PRs) between October 1st-31st to grab free SWAGS 🔥.
You can refer to the following articles on the basics of Git and Github.
- Watch this video to get started, if you have no clue about open source
- Forking a Repo
- Cloning a Repo
- How to create a Pull Request
- Getting started with Git and GitHub
- Fork this Repository using the button at the top on the right corner.
- Clone your forked repository to your PC ( git clone "url from clone option.)
- Create a new branch for your modifications (ie.
git branch new-user and check it out
git checkout new-useror simply do
git checkout -b new-user`) - Add your profile image in
static/images/
( use drag and drop option or upload by commands.) - Add your profile data in
content/participant/
- Add your files (
git add -A
), commit (git commit -m "added myself"
) and push (git push origin new-user
) - Create a pull request
- Star this repository
1. Start by making a Fork of the Hacktoberfest repository. Click on the Fork symbol at the top right corner.
2. Clone your new fork of the repository in the terminal/CLI on your computer with the following command:
git clone https://github.com/<your-github-username>/Hacktoberfest
3. Navigate to the newly created PetMe project directory:
cd Hacktoberfest
4. Set upstream command:
git remote add upstream https://github.com/DhanushNehru.git
5. Create a new branch:
git checkout -b YourBranchName
6. Sync your fork or your local repository with the origin repository:
- In your forked repository, click on "Fetch upstream"
- Click "Fetch and merge"
7. Make your changes to the source code.
8. Stage your changes and commit:
package.json
or package-lock.json
file
git add .
or git add *
. Instead, stage your changes for each file/folder
git add public
git commit -m "<your_commit_message>"
9. Push your local commits to the remote repository:
git push origin YourBranchName
10. Create a Pull Request!
11. Congratulations! You've made your first contribution to [Hacktoberfest]
Replace <YOUR-USERNAME>
with your GitHub username in this guide.
Add a picture of your choice in static/images/
. Accepted files are png and jpg, should be squared and minimum size 544x544 pixels. Ex.
static/images/<YOUR-USERNAME>.png
Create a markdown file in your folder following the convention content/participant/<YOUR-USERNAME>.md
. Ex.
content/participant/<YOUR-USERNAME>.md
Copy the next template into your file, delete the boilerplate data and fill the information with yours.
---
name: YOURNAME
institution/company: INSTITUTION_NAME
github: USERNAME
---
Create/Upload your code in the folder following the convention Add Code Here
- Choose an extract language folder
drop your code
- Below is
an example
to add file properly - You can follow up
any languages
Add Code Here/PYTHON/<YOUR-FILERNAME>.py
Add Code Here/C++/<YOUR-FILERNAME>.cpp
You can follow any pathway a code
or profile information
'''
Always make more than 4 pull requests.
Let's say you have made only 4 pull requests to different projects,
but one project is excluded from hackoctoberfest event then your pull request will not be counted and
then you have the remaining 3 valid pull requests if these projects are not excluded.
If you fail to make 4 pull requests then you can't get swags or t-shirts.
I will recommend you make a pull request to your own repo which is very very safe for you.
Keep in mind that the repo has hacktoberfest topic.
'''
In the cloud-free development environment where you can directly start coding.