git commands for 3rd-party commit/update hooks
- From
- Pavel Sanda <ps@twin.jikos.cz>
- Date
- Sep 11, 2008, 01:22 UTC
- Message-ID
- <20080911012247.GB11362@atrey.karlin.mff.cuni.cz>
hi, please can you help me to figure out, whether the following task can be accomplished by git?
imagine that: 1. user configures rcs in two different modes: a) working in private b) sharing work via some public repo
2. after configuration all rcs communication goes through some 3rd party tool which API knows only commit and update(/merge) hooks.
all docs on git i have seen divide the workflow into the local part eg. git commit and the sharing part eg. git pull/push.
is it somehow doable with git that after appropriate setup i will get single git command for each commiting/updating operation regardless of 1a or 1b scenario? something which can be stuffed into that 3rd-party as external commands for rcs commit/update while keeping it oblivious whether the work is stored locally or on some remote place.
thanks, pavel