Skip to content

th3cyb3rhub/first-contribution

Repository files navigation

first-contribution

⭐ HOW TO MAKE A PULL REQUEST:

1. Start by making a Fork of the first-contribution 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>/first-contribution

3. Navigate to the newly created first-contribution project directory:

cd first-contribution

4. Set upstream command:

git remote add upstream https://github.com/thecyberworld/first-contribution.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"

Alternatively, Git CLI way to Sync forked repository with origin repository:

git fetch upstream
git merge upstream/main

GitHub Docs for Syncing

7. Make your changes to the source code.

  • Add you name in Contributors.md
  • Example:
    - [Kabir](https://github.com/kabir0x23)

8. Stage your changes and commit:

⚠️ Make sure not to commit package.json or package-lock.json file, until and unless you have installed the new packages.

⚠️ Make sure not to run the commands git add . or git add *. Instead, stage your changes for each file/folder

git add Contributors.md
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 first-contribution! 🙌🏼

🏆 After this, the maintainers will review the PR and will merge it if it helps move the first-contribution project forward. Otherwise, it will be given constructive feedback and suggestions for the changes needed to add the PR to the codebase.


  • We help and encourage each other to contribute to open source little and often 😄.
  • Feel free to check out other cool open-source repositories:

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published