Skip to content

Commit f235656

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

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
@@ -944,27 +944,44 @@ Reference the issues numbers from your bug tracker
944944

945945
```bash
946946
$ git stamp Issue FOO-123
947+
948+
commit 787590e42c9bacd249f3b79faee7aecdc9de28ec
949+
Author: Jack <[email protected]>
950+
Commit: Jack <[email protected]>
951+
952+
Fix timezone bug
953+
954+
Issue FOO-123
955+
947956
$ git stamp Issue FOO-456 \#close
948957
949-
Fix timezone bug
958+
commit f8d920511e052bea39ce2088d1d723b475aeff87
959+
Author: Jack <[email protected]>
960+
Commit: Jack <[email protected]>
950961
951-
Issue FOO-123
962+
Fix timezone bug
952963
953-
Issue FOO-456 #close
964+
Issue FOO-123
965+
966+
Issue FOO-456 #close
954967
```
955968

956969
Link to its review page
957970

958971
```bash
959972
$ git stamp Review https://reviews.foo.org/r/4567/
960973
961-
Fix timezone bug
974+
commit 6c6bcf43bd32a76e37b6fc9708d3ff0ae723c7da
975+
Author: Jack <[email protected]>
976+
Commit: Jack <[email protected]>
977+
978+
Fix timezone bug
962979
963-
Issue FOO-123
980+
Issue FOO-123
964981
965-
Issue FOO-456 #close
982+
Issue FOO-456 #close
966983
967-
Review https://reviews.foo.org/r/4567/
984+
Review https://reviews.foo.org/r/4567/
968985
```
969986

970987
Replace previous issues with a new one
@@ -973,11 +990,15 @@ Replace previous issues with a new one
973990
```bash
974991
$ git stamp --replace issue BAR-123
975992
976-
Fix timezone bug
993+
commit 2b93c56b2340578cc3478008e2cadb05a7bcccfa
994+
Author: Jack <[email protected]>
995+
Commit: Jack <[email protected]>
996+
997+
Fix timezone bug
977998
978-
Review https://reviews.foo.org/r/4567/
999+
Review https://reviews.foo.org/r/4567/
9791000
980-
issue BAR-123
1001+
issue BAR-123
9811002
```
9821003

9831004

0 commit comments

Comments
 (0)