### Example Issue Reporting Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md When reporting an issue, provide a clear overview, motivation, browser/OS details, steps to reproduce, related issues, and a suggested fix. ```markdown What are you trying to do or find out more about? Where have you looked? Where did you expect to find this information? ``` -------------------------------- ### Build and Test Locally Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Ensure all tests pass by building your changes locally using the provided command before pushing. ```shell gulp ``` -------------------------------- ### Push Branch to GitHub Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md After committing and testing, push your branch to your GitHub repository to prepare for a pull request. ```shell git push origin my-fix-branch ``` -------------------------------- ### Issue Template Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Use this template when submitting a new issue to ensure all necessary information is provided for quick resolution. ```markdown System information (OS, Device, etc): What steps will reproduce the problem: 1. 2. 3. What is the expected result? What happens instead of that? Code, logs, or screenshot that illustrate the problem: ``` -------------------------------- ### Rebase and Force Push Updates Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md If changes are suggested, rebase your branch onto the latest master and force push to update your pull request. ```shell git rebase master -i git push origin my-fix-branch -f ``` -------------------------------- ### Create Git Branch Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Before submitting a pull request, create a new git branch for your changes. This helps keep your work isolated. ```shell git checkout -b my-fix-branch master ``` -------------------------------- ### Update Master with Upstream Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Synchronize your local master branch with the latest changes from the upstream repository using a fast-forward merge. ```shell git pull --ff upstream master ``` -------------------------------- ### Commit Changes Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Commit your changes using a descriptive message. The `-a` flag can be used to automatically stage edited files. ```shell git commit -a ``` -------------------------------- ### Checkout Master Branch Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Switch to the master branch locally. The -f flag forces the checkout, discarding any uncommitted local changes. ```shell git checkout master -f ``` -------------------------------- ### Delete Local Branch Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Remove the local copy of your feature branch after it has been merged and the remote branch has been deleted. ```shell git branch -D my-fix-branch ``` -------------------------------- ### Delete Remote Branch Source: https://github.com/android/snippets/blob/main/CONTRIBUTING.md Use this command to delete your feature branch from the remote repository on GitHub after your pull request has been merged. ```shell git push origin --delete my-fix-branch ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.