mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 04:26:01 +02:00
git-stamp: add page (#8730)
This commit is contained in:
parent
a9dea35222
commit
3e7b34d04a
1 changed files with 17 additions and 0 deletions
17
pages/common/git-stamp.md
Normal file
17
pages/common/git-stamp.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue