On 23/12/2020 10:13, Johan Hendriks wrote:

… For me and i think a lot of regular users that do not push just pull, a simple page with the exact commands to track stable or head is very appreciated.
Like svnlite update /usr/src replace with git pull .... and so on and 
an example for head, stable or release will push most people in the 
right direction. … 

-CURRENT
========

Guided mostly by the documentation:

1. with /usr/src as an empty working directory
2. the command below, just once

git clone -o freebsd -b main --depth 1 https://git.freebsd.org/src.git freebsd-current
(I do not foresee me committing, and I had no immediate interest in 
history.)
Subsequent updates
------------------

portsnap auto && git -C /usr/src/freebsd-current pull --ff-only && echo "FreeBSD-CURRENT Git revision: " && git -C /usr/src/freebsd-current rev-list --count HEAD
– take what you like from that. Not intended to be an exact command for 
other users, but it suits me.
Context: <https://old.reddit.com/comments/keme3b/-/ggs61in/?context=1>

HTH
Graham

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to