Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2023 20:35:01 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: problem with git-pull
Message-ID:  <ZQCvVc9xgnDKVQTd@c720-r368166>
In-Reply-To: <ZQCG9S9S51UcYtuG@squirrel.exwg.net>
References:  <ZQCD60W0A5YpJOeS@c720-r368166> <ZQCG9S9S51UcYtuG@squirrel.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día martes, septiembre 12, 2023 a las 05:42:45p. m. +0200, Christoph Moench-Tegeder escribió:

> ## Matthias Apitz (guru@unixarea.de):
> 
> > but when I now say 'git pull .' it says only:
> 
> Drop the ".", because:
> 1. the first non-option to "git pull" is the repository, so you're
>    pulling from the current directory, which makes no sense for your
>    case.
> 2. git updates the whole repository, which is a good thing[tm] (yes,
>    there are ways and means, but in gereral one wants to keep a repo
>    consistent).

Thanks! I'm coming from a CVS and SVN background where updating only
sub-trees is possible (and with good intention also normal).
Without the "." it updated the full tree and I built successful the one
package in question with poudriere.

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



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