Skip to content

Commit c5bd28d

Browse files
committed
stamp: show real looking results in Commands.md doc
1 parent a7779a1 commit c5bd28d

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

Commands.md

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -974,27 +974,44 @@ Reference the issues numbers from your bug tracker
974974

975975
```bash
976976
$ git stamp Issue FOO-123
977+
978+
commit 787590e42c9bacd249f3b79faee7aecdc9de28ec
979+
Author: Jack <[email protected]>
980+
Commit: Jack <[email protected]>
981+
982+
Fix timezone bug
983+
984+
Issue FOO-123
985+
977986
$ git stamp Issue FOO-456 \#close
978987
979-
Fix timezone bug
988+
commit f8d920511e052bea39ce2088d1d723b475aeff87
989+
Author: Jack <[email protected]>
990+
Commit: Jack <[email protected]>
980991
981-
Issue FOO-123
992+
Fix timezone bug
982993
983-
Issue FOO-456 #close
994+
Issue FOO-123
995+
996+
Issue FOO-456 #close
984997
```
985998

986999
Link to its review page
9871000

9881001
```bash
9891002
$ git stamp Review https://reviews.foo.org/r/4567/
9901003
991-
Fix timezone bug
1004+
commit 6c6bcf43bd32a76e37b6fc9708d3ff0ae723c7da
1005+
Author: Jack <[email protected]>
1006+
Commit: Jack <[email protected]>
1007+
1008+
Fix timezone bug
9921009
993-
Issue FOO-123
1010+
Issue FOO-123
9941011
995-
Issue FOO-456 #close
1012+
Issue FOO-456 #close
9961013
997-
Review https://reviews.foo.org/r/4567/
1014+
Review https://reviews.foo.org/r/4567/
9981015
```
9991016

10001017
Replace previous issues with a new one
@@ -1003,11 +1020,15 @@ Replace previous issues with a new one
10031020
```bash
10041021
$ git stamp --replace issue BAR-123
10051022
1006-
Fix timezone bug
1023+
commit 2b93c56b2340578cc3478008e2cadb05a7bcccfa
1024+
Author: Jack <[email protected]>
1025+
Commit: Jack <[email protected]>
1026+
1027+
Fix timezone bug
10071028
1008-
Review https://reviews.foo.org/r/4567/
1029+
Review https://reviews.foo.org/r/4567/
10091030
1010-
issue BAR-123
1031+
issue BAR-123
10111032
```
10121033

10131034

0 commit comments

Comments
 (0)