commit d45bf965ad22b8cd812b96ded2ee1f81de7e9ab1 from: Stefan Sperling date: Thu Oct 27 09:16:13 2022 UTC make got.conf(5) warn about remotes configured in locally-shared repositories commit - 6f3190632709528909c1dc45046a2a85921584aa commit + d45bf965ad22b8cd812b96ded2ee1f81de7e9ab1 blob - bf287b2c094e6c1f0225bc770acf44401dfd19b2 blob + 6366e38025c50b23e617cf0c76fb446fe33d9d79 --- got/got.conf.5 +++ got/got.conf.5 @@ -104,7 +104,17 @@ can be used to refer to the remote repository on the c and .Cm got send . .Pp -Information about this repository is declared in a block of options +When repositories are shared between multiple users on the system, it is +recommended that users configure their trusted remote repositories in each +of their work-trees' +.Nm +files, overriding corresponding repository-wide settings. +This can avoid potentially undesirable connections to remote repositories +placed into the shared repository's +.Nm +file by other users. +.Pp +Information about a repository is declared in a block of options enclosed in curly brackets: .Bl -tag -width Ds .It Ic server Ar hostname