GitReference.rename

Undocumented in source. Be warned that the author may not have intended to support it.
struct GitReference
rename
(
string new_name
,
bool force
)

Meta