Re: git equivalent of 'svn update'

From: Ed Maste <emaste_at_freebsd.org>
Date: Sat, 16 Jan 2021 13:47:37 -0500
On Sat, 16 Jan 2021 at 13:35, Steve Kargl
<sgk_at_troutmask.apl.washington.edu> 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
with staged changes which you can then commit (locally).
Received on Sat Jan 16 2021 - 17:47:58 UTC

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