Files
cheatsheet-tldr/tldr/git-stamp
2025-05-06 00:19:54 +00:00

23 lines
688 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# git stamp
> Stamp the last commit message, with the possibility to reference the issues numbers from your bug tracker or link to its review page.
> Part of `git-extras`.
> More information: <https://manned.org/git-stamp>.
- Stamp the last commit message referencing it with the issue number from your bug tracker:
`git stamp {{issue_number}}`
- Stamp the last commit message linking it to its review page:
`git stamp {{Review https://example.org/path/to/review}}`
- Stamp the last commit message replacing previous issues with a new one:
`git stamp {{[-r|--replace]}} {{issue_number}}`