[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFE] Migration to gitlab
From: |
Teemu Likonen |
Subject: |
Re: [RFE] Migration to gitlab |
Date: |
Fri, 22 Mar 2019 16:20:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) |
Stefan Monnier [2019-03-22 09:50:51-04] wrote:
> But we could accept people sending an email with a URL to a branch in
> their own repository. I'm not sure how conveniently Git handles that
> (ideally, I'd like to be able to do something like "git diff URL"), but
> we could in any case add a VC command to do that.
"git pull" is actually "git fetch" + "git merge" so to check a remote
repository one would do "git fetch https://...". Then useful comands
would be
git diff master...FETCH_HEAD # from branches' common base to FETCH_HEAD
git diff master FETCH_HEAD # between the brances
git log -p master..FETCH_HEAD # log+patches from the common base to FETCH_HEAD
If FETCH_HEAD from a remote url is not merged or turned into a named
branch the new git objects will eventually be garbage collected.
--
/// Teemu Likonen - .-.. <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
signature.asc
Description: PGP signature
- Re: [RFE] Migration to gitlab, (continued)
- Re: [RFE] Migration to gitlab, Konstantin Kharlamov, 2019/03/22
- Re: [RFE] Migration to gitlab, Philippe Vaucher, 2019/03/22
- Re: [RFE] Migration to gitlab, Konstantin Kharlamov, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Konstantin Kharlamov, 2019/03/22
- Re: [RFE] Migration to gitlab,
Teemu Likonen <=
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Stefan Monnier, 2019/03/22
- Re: [RFE] Migration to gitlab, Juri Linkov, 2019/03/23
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/22
- Re: [RFE] Migration to gitlab, Richard Stallman, 2019/03/22
- Re: [RFE] Migration to gitlab, Eli Zaretskii, 2019/03/23
- Re: [RFE] Migration to gitlab, Konstantin Kharlamov, 2019/03/23