Edgewall Software

Changes between Version 34 and Version 35 of TracRepositoryAdmin


Ignore:
Timestamp:
Oct 27, 2014, 8:01:18 AM (7 years ago)
Author:
Jun Omae
Comment:

use post-commit rather than post-receive in first example of explicit syncing of git repository

Legend:

Unmodified
Added
Removed
Modified
  • TracRepositoryAdmin

    v34 v35  
    135135==== Git ====
    136136
    137 Git hooks can be used in the same way for explicit syncing of Git repositories.  If your git repository is one that gets committed to directly on the machine that hosts trac, add the following to the `hooks/post-receive` file in your git repo (note: this will do nothing if you only update the repo by pushing to it):
     137Git hooks can be used in the same way for explicit syncing of Git repositories.  If your git repository is one that gets committed to directly on the machine that hosts trac, add the following to the `hooks/post-commit` file in your git repo (note: this will do nothing if you only update the repo by pushing to it):
    138138{{{#!sh
    139139#!/bin/sh