emacs-devel
[Top][All Lists]
Advanced

[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 ///

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]