commit f16e404405cee25eaeec2bebd3555ed373bb5b73 from: Stefan Sperling date: Wed Oct 09 06:52:07 2019 UTC explicitly document that 'got ref' expects absolute reference names commit - 24b5452abe8f7dca6abf6cc0199101c2b950d141 commit + f16e404405cee25eaeec2bebd3555ed373bb5b73 blob - 74fbaf41f1e493e85741b0ef0c24782c6c023472 blob + c34b1bcb69fd3e41f6c82be87c06d624f89bf175 --- got/got.1 +++ got/got.1 @@ -479,6 +479,8 @@ or update, the reference with the given .Ar name , and make it point at the given .Ar target . +The name must be an absolute reference name, i.e. it must begin with +.Dq refs/ . The target may be an object ID SHA1 hash or an existing reference which will be resolved to an object ID. An abbreviated hash argument will be expanded to a full SHA1 hash