Hacker News new | ask | show | jobs
by davelee 225 days ago
I use the `%f` format option. I have a `bn` alias ("branch name"):

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

1 comments

Interesting idea, however, don't you first need to create the branch before you start committing commits?