Skip to content

TechieeGeeeks/Patrick_Collins_Foundary_Course

Repository files navigation

Complete Course

How to Contribute?

  • Take a look at the existing [Issues]
  • Fork the Repo create a branch for any issue that you are working on and commit your work.
  • Create a ** [Pull Request], 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 that are included in your commits.

How to make a Pull Request?

1. Start by forking the repository.

2. Clone your forked repository:

git clone https://github.com/<your-github-username>/repository_name

3. Navigate to the new project directory:

cd repository_name

4. Set upstream command:

this is where you will be contributing

git remote add upstream https://github.com/TechieeGeeeks/Patrick_Collins_Foundary_Course

5. Create a new branch:

git checkout -b YourBranchName

or

git branch YourBranchName
git switch YourBranchName

6. Sync your fork or 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.

8. 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>"

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! 🙌🏼

Copyright @devswayam