Welcome to your first open source contribution! This guide will walk you through making your first pull request to the First Contributions repository.
- A GitHub account
- Git installed on your computer
- Basic command line knowledge
- Go to First Contributions
- Click the "Fork" button in the top-right corner
- Wait for the fork to complete (you'll be redirected to your copy)
git clone https://github.com/YOUR-USERNAME/first-contributions.git
cd first-contributions
git remote add upstream https://github.com/HashSlap-Summer-of-Code/first-contributions.git
git checkout -b add-your-name
- Open
Contributors.md
in a text editor - Add your name in this format at the end of the file:
- [Your Name](https://github.com/your-username)
- Save the file
git add Contributors.md
git commit -m "Add my name to Contributors.md"
git push origin add-your-name
- Go to your forked repository on GitHub
- Click "Compare & pull request"
- Ensure:
- Base repository: HashSlap-Summer-of-Code/first-contributions
- Base branch: main
- Head repository: your-username/first-contributions
- Compare branch: add-your-name
- Add a descriptive title and comment
- Click "Create pull request"
You've just made your first open source contribution! The maintainers will review your PR and merge it soon.
To sync your fork with the original repository:
git fetch upstream
git checkout main
git merge upstream/main
git push origin main
- Check out the First Contributions tutorial
- Join our Discord community
- Read GitHub's pull request documentation
Happy coding! 🚀