summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-06 15:27:08 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-06 07:45:57 -0700
commit002fe677caddc8162949315c73e53422d4e0f4e8 (patch)
tree35b3473d7490164f3de4380fe36e769ff1da2834 /t/t4013/diff.diff_initial..side
parentfa4eefe900b679c58ee0013198a9b11d036531ad (diff)
builtin/refs: add "rename" subcommand
Add a "rename" subcommand to git-refs(1) with the syntax: $ git refs rename <oldref> <newref> It renames <oldref> together with its reflog to <newref>; even when used on a local branch ref, the current value and the reflog of the ref are the only things that are renamed. Document it and redirect casual users to "git branch -m" if that is what they wanted to do. Co-authored-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions