git equivalent of 'svn update'

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sat, 16 Jan 2021 10:35:28 -0800
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 /usr/src, which now means that /usr/src
does not match the installed world when I want are the recent
changes to bge(4).  

-- 
Steve
Received on Sat Jan 16 2021 - 17:35:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC