Join here and see the world my way!! Its my first one I created this repo for beginners to get in to their first open source contribution
Repository for you to raise a Pull Request to practice open-source! 🎉
flowchart LR
Fork[Fork the project]-->branch[Create a New Branch]
branch-->Edit[Edit file]
Edit-->commit[Commit the changes]
commit -->|Finally|creatpr((Create a Pull Request))
Fork
button in the top right of this page. This creates your copy of the project and saves it as a new repository in your github accountmain
button in the upper left to reveal a dropdown menu.nameAdd
).Create branch <new branch name>
and this will automatically take you to your new branch. You can make edits on the main branch, but this may cause issues down the line. Best practice is to create a new branch for each separate issue you work on. That way your main
branch remains in sync with Eddie's main
branch.Pull Requests
(which is the third option at the top of this page after the options Code
and Issues
).New Pull Request
button. This will prep the new pull request for you by autofilling the base repository: base
with 'EddieGitHubCommunity: main' AND autofilling your head repository: compare
with your repository: main
compare
dropdown, and switch branches from your 'main' branch to <new branch name>
.Create Pull Request
button. Great job! You did it!You can ask questions by raising an issue.
Fork the project:
Click the gray Fork
button in the top right of this page. This creates your copy of the project and saves it as a new repository in your github account
Click on the green Code
button, then either the HTTPS or SSH option and, click the icon to copy the URL. Now you have a copy of the project. Thus, you can play around with it locally on your computer.
Run the following commands into a terminal window (Command Prompt, Powershell, Terminal, Bash, ZSH). Do this to download the forked copy of this repository to your computer.
git clone https://github.com/YOUR_GITHUB_USERNAME/hacktoberfest-practice.git
cd hacktoberfest-practice
git checkout -b <name-of-new-branch>
Open the README.md
file
update or add your code to the section that matches your Initial in , make sure that your name is in alphabetical order. Then save your changes.
For example
- [Full Name](https://github.com/your-username)
Stage your changes.
git add README.md
or
git add .
git commit -m "Add <your-github-username>"
git status
On branch <name-of-your-branch>
nothing to commit, working tree clean
git push origin <name-of-your-branch>
or
git branch -M main
git push -u origin main
Warning: If you get an error message like the one below, you probably forgot to fork the repository before cloning it. It is best to start over and fork the project repository first.
ERROR: Permission to EddieHubCommunity/hacktoberfest-practice.git denied to <your-github-username>.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
On the GitHub website, navigate to your forked repo - on the top of the files section, you'll notice a new section containing a Compare & Pull Request
button!
Click on that button, this will load a new page, comparing the local branch in your forked repository against the main branch in the EddieHub Hacktoberfest repository. Accept the default values in the dropdown boxes and click the green Create Pull Request
button. After creating the PR (Pull Request), our GitHub Actions workflow will add a welcome message to your PR.
Note: A pull request allows us to merge your changes with the original project repo.
Your pull request will be reviewed and then eventually merged.
Hurray! You successfully have made your first contribution! 🎉