Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

scripts and hooks for use with a centralized git repo

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 client
Octocat-spinner-32 scripts
Octocat-spinner-32 server
Octocat-spinner-32 tests
Octocat-spinner-32 README.markdown
Octocat-spinner-32 VsSubversion.markdown
Octocat-spinner-32 workflow.markdown
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
Something went wrong with that request. Please try again.