git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git commands for 3rd-party commit/update hooks

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

Message 1 of 1 in “git commands for 3rd-party commit/update hooks”
  1. Pavel SandaSep 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.