Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2021 10:35:28 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   git equivalent of 'svn update'
Message-ID:  <20210116183528.GA41499@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210116183528.GA41499>