commit 6ca25bfcab74e714d1227f536dd9ccaf8f9e8155 from: Stefan Sperling via: Thomas Adam date: Thu Oct 27 11:26:40 2022 UTC make got.conf(5) warn about remotes configured in locally-shared repositories commit - f7065961155cb464f66b5189bf6103ab84afab3f commit + 6ca25bfcab74e714d1227f536dd9ccaf8f9e8155 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