/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Git CLI tool for intelligently creating branch names
(github.com)
35 points
Terretta
| 2 comments |
31 Oct 25 13:37 UTC
|
HN request time: 0.433s
|
source
1.
davelee
◴[
31 Oct 25 14:50 UTC
]
No.
45772597
[source]
▶
>>45771843 (OP)
#
I use the `%f` format option. I have a `bn` alias ("branch name"):
git show --no-patch --format=%f [<commit>]
replies(1):
>>45784542
#
ID:
GO
2.
ytreister
◴[
01 Nov 25 19:26 UTC
]
No.
45784542
[source]
▶
>>45772597 (TP)
#
Interesting idea, however, don't you first need to create the branch before you start committing commits?
↑