Thread (1 message) 1 message, 1 author, 2021-03-04

Re: git pull unclear manual

From: Junio C Hamano <hidden>
Date: 2021-03-04 01:20:13

Sergey Organov [off-list ref] 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.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help