mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 02:50:05 +00:00
Update cheatsheets
This commit is contained in:
22
git-stamp
Normal file
22
git-stamp
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
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://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}}`
|
||||
Reference in New Issue
Block a user