←back to thread

35 points Terretta | 2 comments | | HN request time: 0.433s | source
1. davelee ◴[] No.45772597[source]
I use the `%f` format option. I have a `bn` alias ("branch name"):

git show --no-patch --format=%f [<commit>]

replies(1): >>45784542 #
2. ytreister ◴[] No.45784542[source]
Interesting idea, however, don't you first need to create the branch before you start committing commits?