[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC mode and git
From: |
David Engster |
Subject: |
Re: VC mode and git |
Date: |
Thu, 26 Mar 2015 14:36:18 +0000 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4 (gnu/linux) |
Stefan Monnier writes:
>> I used Bzr a few months ago, and my commits were pushed automatically.
>> I never did an explicit push.
>
> That's because you used a "bound branch", which is a Bazaar feature that
> lets you say that in this branch "bzr commit" should do both a commit
> and a push.
>
> For some reason, Git hasn't acquired such a feature yet.
> [ I'd love such a feature, especially if the destination of this
> auto-push can be different from the destination of a plain "git push",
> since that then allows to keep a remote copy of your local repository
> in sync. ]
Put whatever push command you like into .git/hooks/post-commit.
-David
- Re: VC mode and git, (continued)
Re: VC mode and git, Stefan Monnier, 2015/03/24
Re: VC mode and git, Richard Stallman, 2015/03/26
Re: VC mode and git, Stefan Monnier, 2015/03/26
Re: VC mode and git, Steinar Bang, 2015/03/25
Re: VC mode and git, Mark H Weaver, 2015/03/26