### Commit Message Format - Docs Example Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md Example of a commit message for documentation changes. ```git docs(changelog) update change log to beta.5 ``` -------------------------------- ### Install NestJS Cache Manager Source: https://github.com/nestjs/cache-manager/blob/master/README.md Install the necessary packages for the NestJS cache-manager module. This includes the core module and the cache-manager package itself. ```bash npm i --save @nestjs/cache-manager cache-manager ``` -------------------------------- ### Commit Message Format - Fix Example Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md Example of a commit message for a bug fix, including scope and a detailed body. ```git fix(@nestjs/core) need to depend on latest rxjs and zone.js The version in our package.json gets copied to the one we publish, and users need the latest of these. ``` -------------------------------- ### Stage and commit changes Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md Use the `git commit -a` command to stage and commit your changes. The `-a` option automatically stages all modified tracked files. ```shell git commit -a ``` -------------------------------- ### Push branch to GitHub Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md After committing, push your changes to your fork on GitHub. ```shell git push origin my-fix-branch ``` -------------------------------- ### Create a new git branch Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md Before making changes, create a new git branch from the master branch. ```shell git checkout -b my-fix-branch master ``` -------------------------------- ### Rebase and force push after review Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md If changes are requested on your pull request, rebase your branch and force push to update your PR. ```shell git rebase master -i git push -f ``` -------------------------------- ### Update local master with upstream changes Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md After cleaning up local branches, update your local master branch with the latest changes from the upstream repository. ```shell git pull --ff upstream master ``` -------------------------------- ### Delete local branch Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md After merging and deleting the remote branch, delete the local branch. ```shell git branch -D my-fix-branch ``` -------------------------------- ### Delete remote branch Source: https://github.com/nestjs/cache-manager/blob/master/CONTRIBUTING.md After your pull request is merged, delete the remote branch from GitHub. ```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.