Point release with latest ports

So I am new to FreeBSD and I have 13.1 Beta-1 installed in a Virtual Box.
As I read from the handbook the packaging repos can be quarterly or latest.
Can I use the latest ports in /usr/ports/ by cloning the git repo or will it cause breakages? Should I checkout to a specific branch?
 
I have 13.1 Beta-1
Typo? It's 13.2 that got its first beta release.

Match them up, use quarterly packages and a quarterly ports branch. Or latest packages and the main branch of the ports tree. That's up to you. Quarterly is more or less frozen for three months and only receives security or stability updates. Latest/main is constantly changing, there's always something being updated. I generally prefer latest though, updates are typically small steps. With the quarterly branch you get all the changes from the past three months in one go whenever a new quarterly branch is made.

You can still get into hot water though, especially if you chose to build with a different set of options. FreeBSD package repositories are always built with the default options set. If you build from ports with just the defaults then there's really no reason to build from ports in the first place, you're not going to gain anything.
 
How do I make the ports tree track the main branch?
It's the default, so unless specified otherwise, it should already be the case.

Portsnap only knows the main branch, so if you're using it you're necessarily tracking main.

If using git, you can check which branch is currently tracked with # git -C /usr/ports/ branch -l
 
Back
Top