Re: git equivalent of 'svn update'

2021-01-16 Thread Ed Maste
On Sat, 16 Jan 2021 at 13:35, Steve Kargl wrote: > > In the git world, what is the equivalent of 'svn update' > within a subdirectory of the /usr/src hierarchy. You can use something like % git checkout freebsd/main sys/dev/bge to update just sys/dev/bge to match freebsd/main. This will leave you

git equivalent of 'svn update'

2021-01-16 Thread Steve Kargl
In the git world, what is the equivalent of 'svn update' within a subdirectory of the /usr/src hierarchy. In the svn world, one could do % cd /usr/src/sys/dev/bge % svn update and this would only grab the changes under sys/dev/bge. % cd /usr/src/sys/dev/bge % git pull grabs all changes under