This guide explains how to make a Pull Request (PR) for those who are new to GitHub.
Link: https://www.latex-project.org/get/
- Navigate to the repository you want to contribute to.
- Click on the Fork button at the top-right corner to create a copy of the repository under your own GitHub account.
-
Go to your forked repository.
-
Click on the Code button, copy the repository URL (HTTPS, SSH, or GitHub CLI).
-
Open a terminal (or Git Bash on Windows) and run the following command to clone the repository to your local machine:
git clone <your-forked-repository-url>
Example:
git clone https://github.com/your-username/forked-repository.git
-
Navigate into the cloned repository
cd forked-repository
- Before making any changes, create a new branch to work on by running:
git checkout -b my-new-feature- Replace my-new-feature with a descriptive name for your branch.
- Edit the files in the repository using your preferred code editor.
- Save the files after making the necessary changes.
# Fork the repo and clone it locally
git clone <your-forked-repository-url>
# Navigate into the repo directory
cd forked-repository
# Create a new branch
git checkout -b my-new-feature
# Add and commit changes
git add .
git commit -m "Description of changes"
# Push changes to GitHub
git push origin my-new-featureTODO tambahkan contoh table