Subject: Re: git pull unclear manual

From: Junio C Hamano <[email-masked]>
Date: Wed, 03 Mar 2021 17:18:45 -0800

Sergey Organov <[email-masked]> writes:

> Here is how "git help pull" begins:
>
> <q>
> NAME
>        git-pull - Fetch from and integrate with another repository or a local
>        branch
>
> SYNOPSIS
>        git pull [<options>] [<repository> [<refspec>...]]
> </q>
>
> From this, how do one figures how to "integrate with ... local branch"?
>
> Is "git pull" useful to integrate with a local branch at all?

Yes, you can refer to your local repository as ".", so

	git pull . another-branch

will integrate the history of your local "another-branch" into
the history of the branch you have currently checked out.