From: Junio C Hamano <gitster@pobox.com>
To: Sergey Organov <sorganov@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git pull unclear manual
Date: Wed, 03 Mar 2021 17:18:45 -0800 [thread overview]
Message-ID: <xmqqv9a7emx6.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <874khsqq0o.fsf@osv.gnss.ru> (Sergey Organov's message of "Wed, 03 Mar 2021 17:18:47 +0300")
Sergey Organov <sorganov@gmail.com> 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.
next prev parent reply other threads:[~2021-03-04 1:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 14:18 git pull unclear manual Sergey Organov
2021-03-04 1:18 ` Junio C Hamano [this message]
2021-03-04 11:52 ` Sergey Organov
2021-03-04 23:24 ` Junio C Hamano
2021-03-07 18:57 ` Sergey Organov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqv9a7emx6.fsf@gitster.c.googlers.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=sorganov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.