Skip to content

Latest commit

 

History

History
88 lines (55 loc) · 2.86 KB

CONTRIBUTING.md

File metadata and controls

88 lines (55 loc) · 2.86 KB

How to Contribute

PRs Welcome

  • Take a look at the existing Issues or create a new issue!
  • Fork the Repo. Then, create a branch for any issue that you are working on. Finally, commit your work.
  • Create a Pull Request (PR), which will be promptly reviewed and given suggestions for improvements by the community.
  • Add screenshots or screen captures to your Pull Request to help us understand the effects of the changes proposed in your PR.

HOW TO MAKE A PULL REQUEST:

1. 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>/My-Name

2. Navigate to the newly created LinkFree project directory:

cd My-Name

3. Set upstream command:

git remote add upstream https://github.com/vansh-goel/My-Name.git

4. Create a new branch:

git checkout -b YourBranchName

5. 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

6. Make your changes to the source code.

7. Stage your changes and commit:

⚠️ Make sure not to commit package.json or package-lock.json file

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

git add file/folder
git commit -m "<your_commit_message>"

8. Push your local commits to the remote repository:

git push origin YourBranchName

9. Create a Pull Request!

Congratulations! You've made your first contribution to My-Name!

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

Run automated tests

After making changes make sure that tests passes

Start the My-Name application by previewing the project using the extension Live Server.

All the best! 👍🏻