unable to git pull

I installed the FreeBSD ports and src with the installer and now when i go to update the ports/src it says
fatal: not a git repository (or any of the parent directories): .git

do i have to reinstall the ports/src?
 
Remove the contents of the /usr/src/ directory. The source you install with the installer isn't a git repository. So you cannot use git to update it. Just remove the contents and do a fresh clone. Same goes for the /usr/ports tree.

If you run a -RELEASE just leave the /usr/src directory alone, it'll get updated with freebsd-update(8).
 
Back
Top