[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git commit/push and VC
From: |
Stephen Berman |
Subject: |
Re: git commit/push and VC |
Date: |
Thu, 20 Nov 2014 13:28:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
On Wed, 19 Nov 2014 21:07:08 -0500 Glenn Morris <address@hidden> wrote:
> Stephen Berman wrote:
>
>> possible to use VC to push changes to another branch or repository, and
>> if so, how?
>
> `vc-pull' exists, but nobody wrote (or nobody pushed, ha ha) `vc-push'.
>
> Eg
> http://debbugs.gnu.org/12415
> http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00267.html
> http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00842.html
On Thu, 20 Nov 2014 10:29:30 +0700 Yuri Khan <address@hidden> wrote:
> On Thu, Nov 20, 2014 at 5:36 AM, Stephen Berman <address@hidden> wrote:
>
>> GitForEmacsDevs says this:
>>
>> If you are a committer, you can merge to the upstream master directly.
>>
>> First, update your repository:
>>
>> cd $DEVHOME/emacs
>> git checkout master
>> git pull
>> git merge TASKNAME
>> git push
>>
>> Run the tests:
>>
>> make check
>>
>> and then commit
>>
>> git status
>> git commit -m "fixes debbugs:12345"
>>
>> which merges all your new commits to the upstream master.
>>
>> I don't understand why `git commit' follows `git push' here (or why
>> there isn't another `git push' after `git commit').
>
> Indeed, the instruction quoted above is strange.
[...]
Thanks to both of you for the replies. I see that GitForEmacsDevs on
the Wiki has been updated in the mean time, so it's clearer (and
hopefully correct) now.
Steve Berman
- git commit/push and VC, Stephen Berman, 2014/11/19
- Re: git commit/push and VC, Glenn Morris, 2014/11/19
- Re: git commit/push and VC,
Stephen Berman <=
- Re: git commit/push and VC, Yuri Khan, 2014/11/19
- Re: git commit/push and VC, Eli Zaretskii, 2014/11/20
- Re: git commit/push and VC, Achim Gratz, 2014/11/20
- Re: git commit/push and VC, Eli Zaretskii, 2014/11/20
- Re: git commit/push and VC, Stephen J. Turnbull, 2014/11/20
- Re: git commit/push and VC, Eli Zaretskii, 2014/11/21
- Re: git commit/push and VC, Stephen J. Turnbull, 2014/11/22
- Re: git commit/push and VC, Yuri Khan, 2014/11/22
- Re: git commit/push and VC, Stephen J. Turnbull, 2014/11/22
- Re: git commit/push and VC, Ivan Shmakov, 2014/11/22