Re: More help with "pull" please
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 2, 2009, 02:24 UTC
- Message-ID
- <7viqlnokrv.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <F364AB31-EC5B-4719-834E-58613BDBC433@dbservice.com>
Tomas Carnecky <tom@dbservice.com> writes:
Show 8 quoted lines
>> OK, that works by adding something to the config file, right? The >> docs >> don't say, but does mention "having Pull: <refspec> lines for a >> <repository>". Does tracking add Pull: lines, or is that another >> feature? > > I think Pull: lines are not used anymore in newer > repositories.
If your repository is using .git/remotes/origin to name the "origin" remote, they are still honored. But you are correct to point out that branch.<name>.remote and with the remote.<name>.* variables in .git/config are used to control these more recent features. So in that sense the documentation is still correct.