How do you migrate from rsync to git for 'emerge --sync'?

I changed my /etc/porttage/repos.conf/gentoo.conf file as shown in
various places, but when I try to do a sync, git barfs:

     # emerge --sync >>> Syncing repository 'gentoo' into '/usr/portage'...
     /usr/bin/git clone --depth 1 https://github.com/gentoo-mirror/gentoo.git .
     fatal: destination path '.' already exists and is not an empty directory.
     !!! git clone error in /usr/portage

Despite what multiple blog and wiki pages claim, it seems it's not as
simple as editing you gentoo.conf file. Do I need to wipe the contents
of /usr/portage and start with an emptry directory there?


Reply via email to