Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Installing Dropbox on Centos 6 Reply To: Installing Dropbox on Centos 6

#183129
chrisburton
Participant

Git repositories have a folder called ‘hooks’. This folder contains some sample files for possible actions that you can hook and perform custom actions set by you.

Git documentation define three possible server hooks: ‘pre-receive’, ‘post-receive’ and ‘update’. ‘Pre-receive’ is executed as soon as the server receives a ‘push’, ‘update’ is similar but it executes once for each branch, and ‘post-receive’ is executed when a ‘push’ is completely finished and it’s the one we are interested in.

I believe post-receive is what I’m looking for?