chickadee » git » branch-name-set!

branch-name-set! reference name #!optional forceprocedure

Renames the given branch reference to name, which should be a string. If force is given and not false, any existing branch with the given name will be overwritten.

On success, the on-disk repository is updated immediately.