diff --git a/pages/common/git-stamp.md b/pages/common/git-stamp.md new file mode 100644 index 000000000..e201b6d3d --- /dev/null +++ b/pages/common/git-stamp.md @@ -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: . + +- 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}}`