[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFE] Migration to gitlab

From: Stefan Monnier
Subject: Re: [RFE] Migration to gitlab
Date: Fri, 22 Mar 2019 10:29:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

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

Ah FETCH_HEAD sounds like the solution to avoid having to `git remote add`.
Cool, thanks!

So, yes, this sounds like a nice alternative that avoids the need to
have write access to emacs.git.


reply via email to

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