Information on how we write our markdown files can be found in the GitHub Markdown reference.
If you spot a problem with the docs, search if an issue already exists. If a related issue doesn't exist, you can open a new issue using a relevant issue form.
Scan through our existing issues to find one that interests you. You can narrow down the search using labels
as filters. See Labels for more information. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix.
- Fork the repository.
- Using the command line:
- Fork the repo so that you can make your changes without affecting the original project until you're ready to merge them.
- Clone your own fork locally. If your run into problems durring this step, read the Set up Git page from GitHub's documentation.
- Navigate to your local repository"
cd jetson-tutorials
- Checkout your fork is the
origin
remote
git remote add origin URL_OF_FORK
- Add the project repository as the
upstream
remote:
git remote add upstream https://github.com/dnovischi/jetson-tutorials.git
- Pull the latest changes from upstream main and development branches into your local repository:
git pull upstream main git pull upstream development
- Create a working branch and start with your changes!
git checkout -b BRANCH_NAME
- Commit the changes once you are happy with them:
git add -A # Stage the changes
git commit -m DESCRIPTION OF CHANGES # Commit changes
- Push your changes to your fork:
git push origin BRANCH_NAME
When you're finished with the changes, create a pull request pointed towards the development
branch, also known as a PR:
- To begin the pull request, return to your fork on GitHub, and refresh the page. You may see a highlighted area that displays your recently pushed branch.
- Click the green Compare & pull request button to begin the pull request.
- Create the pull request towards the
development
branch. - Before submitting the pull request, you first need to describe the changes you made (rather than asking the project maintainers to figure them out on their own). You should write a descriptive title for your pull request, and then include more details in the body of the pull request. If there are any related GitHub issues, make sure to mention those by number. The body can include Markdown formatting, and you can click the Preview tab to see how it will look.
- If everything looks good, click the green Create pull request button!
- You can continue to add more commits to your pull request even after opening it! For example, the project maintainers may ask you to make some changes, or you may just think of a change that you forgot to include:
- start by returning to your local repository, and use
git branch
to see which branch is currently checked out. If you are currently in thedevelopment
branch (rather than the branch you created), usegit checkout BRANCH_NAME
to switch. - Then, you should repeat steps to make changes, commit them, and push them to your fork.