summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2020-12-11 11:36:55 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-12-13 15:53:50 -0800
commitcfaff3aac8063ec72f03c6761328c7fa44a15b34 (patch)
treec8fbd9daf268b486d048b26859af35fbafcc83c0 /advice.h
parentinit: document `init.defaultBranch` better (diff)
downloadtgif-cfaff3aac8063ec72f03c6761328c7fa44a15b34.tar.xz
branch -m: allow renaming a yet-unborn branch
In one of the next commits, we would like to give users some advice regarding the initial branch name, and how to modify it. To that end, it would be good if `git branch -m <name>` worked in a freshly initialized repository without any commits. Let's make it so. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
0 files changed, 0 insertions, 0 deletions