commit 0032ca7199dad2b8f41cd8e30ce889dfe3575fa6 from: Stefan Sperling date: Wed Jan 23 15:47:52 2019 UTC In got.1, clarify that 'got update' operates on current branch only. commit - 1aad446ab8b63c1789252ebab8a20f9fefc11a3e commit + 0032ca7199dad2b8f41cd8e30ce889dfe3575fa6 blob - 8ea64bf32f16b4fd18fa036bc834f3d3f0a7be43 blob + 1f262f0cc13c58a418ead0547d47fa568730d0be --- got/got.1 +++ got/got.1 @@ -94,7 +94,7 @@ Only files beneath the specified will be checked out. .El .It Cm update [ Fl c Ar commit ] [ work-tree-path ] -Update an existing work tree to another commit. +Update an existing work tree to another commit on the current branch. By default, the latest commit on the current branch is assumed. If the .Ar work tree path @@ -107,8 +107,7 @@ are as follows: .It Fl c Ar commit Update the work tree to the specified .Ar commit . -The expected argument is the name of a branch or a SHA1 hash which corresponds -to a commit object. +The expected argument is a SHA1 hash which corresponds to a commit object. .El .\".It Cm status .\"Show current status of files.