Re: problem with git-pull

From: Matthias Apitz <guru_at_unixarea.de>
Date: Tue, 12 Sep 2023 18:35:01 UTC
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