Before you begin, ensure you have met the following requirements:
- Git installed on your machine, refer to this docs to install git.
- A Code Editor installed on you local machine, download vs code from here.
- Fork the repository to you account(one can fork all branches), or click on fork icon
- Clone your forked repository, or run this terminal command in your local folder where you want to clone:
git clone https://github.com/__YOUR_GITHUB_USER_NAME__/CP-Handbook.git
- Head to cloned repository, or hit this command:
cd CP-Handbook
- Create a separate branch heading to main branch, or run below commands:
git checkout main
git pull
git branch __YOU_BRANCH_NAME__
git checkout __YOU_BRANCH_NAME__
- After making changes add and commit the changes in git:
git add .
git commit -m "__YOUR_COMMIT_MESSAGE__"
- Push changes to github forked repository, but hitting:
git push origin -u __YOU_BRANCH_NAME__
- Head over to forked repository on browser Raise a Pull Request, find compare & pull request button to raise a pull request
- Give your PR a good name and a description and raise your Pull Request :)