tldr/pages/common/git-stamp.md

18 lines
624 B
Markdown
Raw Normal View History

2022-10-10 02:32:43 +01:00
# 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://github.com/tj/git-extras/blob/master/Commands.md#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 --replace {{issue_number}}`