public
Description: scripts and hooks for use with a centralized git repo
Homepage:
Clone URL: git://github.com/stephenh/git-central.git
stephenh (author)
Sat Aug 01 15:07:21 -0700 2009
commit  0affac639e4c5753a9cad2634c24f12d8b92e88b
tree    96b8b55f454fd4d38162e225a8760d4f955b0486
parent  0ef545513bc77af8f8c6136f6c09fdfe245bb404
README.markdown

Overview

Tweaks for using git in a corporate/close-team environment.

Scripts

  • checkout: does the right thing for creating/tracking a new or existing remote branch
  • push: pushes only the current branch to origin
  • pull: pulls changes down but with rebase-i-p to avoid same-branch merges and commit replays

Server-side Hooks

See the individual scripts for documentation, but an overview:

Client-side Hooks

Bootstrapping Scripts

Install Server-side Hooks

  • Download/clone the gc repo to something like /srv/git/gc
  • Edit your_repo.git/hooks/post-receive and your_repo.git/hooks/update to call the gc hooks as appropriate

Todo

  • Install approach for scripts
  • Install for client hooks