/etc/portage/repos.conf/gentoo.conf

The example below shows the default set up of the main Gentoo repository. However, there is no need for having this file unless its content deviates from the file found at.

Alternatively, the old sync method is still available:

For a setup using    (<=portage-2.2.18),   (>=portage-2.2.19), see the webrsync.conf article.