git-stamp: add page (#8730)

pull/1/head
Raul Piraces Alastuey 2022-10-10 03:32:43 +02:00 committed by GitHub
parent a9dea35222
commit 3e7b34d04a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
pages/common/git-stamp.md Normal file
View File

@ -0,0 +1,17 @@
# 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}}`