Skip to content

Commit

Permalink
stamp: add to Commands doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tardypad committed Dec 4, 2016
1 parent 3b621f1 commit 705bb32
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
- [`git show-merged-branches`](#git-show-merged-branches)
- [`git show-tree`](#git-show-tree)
- [`git show-unmerged-branches`](#git-show-unmerged-branches)
- [`git stamp`](#git-stamp)
- [`git squash`](#git-squash)
- [`git standup`](#git-standup)
- [`git summary`](#git-summary)
Expand Down Expand Up @@ -958,6 +959,57 @@ For example, running `git show-tree` will display:

Be free to try it for yourself!


## git stamp

Stamp the last commit message

Commit message is

```bash
Fix timezone bug
```

Reference the issues numbers from your bug tracker

```bash
$ git stamp Issue FOO-123
$ git stamp Issue "FOO-456 #close"
Fix timezone bug
Issue FOO-123
Issue FOO-456 #close
```

Link to its review page

```bash
$ git stamp Review https://reviews.foo.org/r/4567/
Fix timezone bug
Issue FOO-123
Issue FOO-456 #close
Review https://reviews.foo.org/r/4567/
```

Replace previous issues with a new one

```bash
$ git stamp --replace Issue BAR-123
Fix timezone bug
Review https://reviews.foo.org/r/4567/
Issue BAR-123
```


## git standup

Recall what you did or find what someone else did in a given range of time.
Expand Down

0 comments on commit 705bb32

Please sign in to comment.