In the past, I've used this command to copy the ports tree from a specific date:
With the move to git, I am at a loss for how to do the same thing with git. I saw some advice about running git log and finding the revision number of the ports tree and then using git checkout but there's got to be an easier way to find the revision number of the ports tree.
I want snapshots of the ports tree from specific times in the past to work with older versions of FreeBSD for my experimental setups. There is a way to copy a quarterly branch, with poudriere it's like this, for example:
Any pro tips? Thank you in advance!
Code:
svn co -r'{2018-01-30}' https://svn.freebsd.org/ports/head /usr/local/poudriere/ports/HEAD-2018-01-30
With the move to git, I am at a loss for how to do the same thing with git. I saw some advice about running git log and finding the revision number of the ports tree and then using git checkout but there's got to be an easier way to find the revision number of the ports tree.
I want snapshots of the ports tree from specific times in the past to work with older versions of FreeBSD for my experimental setups. There is a way to copy a quarterly branch, with poudriere it's like this, for example:
Code:
poudriere ports -c -p HEAD-11 -m git+https -B 2020Q4
Any pro tips? Thank you in advance!