Welcome to CompilerSutra. We're glad you're interested in contributing. This document provides a step-by-step guide to help you get started, contribute effectively, and become part of our developer community.
Before you begin, ensure you have the following:
- A GitHub account
- Basic understanding of Git & GitHub workflow
- Familiarity with one or more of these stacks: C++, Python, JavaScript, Linux, LLVM, etc.
- Node.js version 18.x or higher installed on your system
-
Fork the Repository
- Go to CompilerSutra on GitHub
- Click the
Forkbutton to create your copy of the repository
-
Clone Your Fork
git clone https://github.com/<your-username>/FixIt.git cd FixIt cd /src/pages rm newsletter.js # remove newsletter.js code index.js # open index.js in any editor
-
Comment the lines:
//import NewsletterModal from '../newsletter_modal/NewsletterModal'; //import NewsletterModal from './newsletter_modal_updated/NewsletterModal'
{/*isModalOpen && <NewsletterModal onClose={() => setModalOpen(false)} />*/} {/* Contribution message has been removed */}
-
-
Create a New Branch
git checkout -b your-feature-name
-
Make Your Changes
- Tackle an open issue or suggest a new improvement
- Follow the existing code style and structure
-
Commit Your Work
git add path/to/your/file git commit -m "Brief description of your change" -
Push to GitHub
git push origin your-feature-name
-
Open a Pull Request (PR)
- Navigate to your fork on GitHub
- Click "Compare & pull request"
- Describe your changes clearly and submit the PR
After your pull request has been merged, you can clean up your local and remote branches with these commands:
# Switch back to main branch (or master)
git checkout main
# Pull the latest changes from upstream main branch
git pull upstream main
# Delete your feature branch locally
git branch -d your-feature-name
# Delete your feature branch from your GitHub fork
git push origin --delete your-feature-nameIf you haven't set upstream remote yet, add it like this:
git remote add upstream https://github.com/aabhinavg1/FixIt.git- Feature Enhancements
- Bug Fixes
- Documentation improvements
- Unit tests and examples
- Internationalization
- DevOps / CI integrations
Please test your code locally before submitting a PR. For backend or system-related projects, include test cases and outputs wherever applicable.
Once your PR is submitted:
- A maintainer will review your code
- You may receive comments or change requests
- Once approved, your PR will be merged into the main branch
By contributing, you agree that your code will be licensed under the repository’s license.
Have questions or suggestions?
Thank you for your interest and contributions to CompilerSutra.