This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 0affac639e4c5753a9cad2634c24f12d8b92e88b
tree 96b8b55f454fd4d38162e225a8760d4f955b0486
parent 0ef545513bc77af8f8c6136f6c09fdfe245bb404
tree 96b8b55f454fd4d38162e225a8760d4f955b0486
parent 0ef545513bc77af8f8c6136f6c09fdfe245bb404
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Mon Dec 22 19:10:01 -0800 2008 | |
| |
VsSubversion.markdown | Sat Aug 01 15:07:21 -0700 2009 | |
| |
client/ | Tue Nov 11 22:41:34 -0800 2008 | |
| |
scripts/ | Tue Nov 11 23:30:22 -0800 2008 | |
| |
server/ | Mon Dec 22 19:10:01 -0800 2008 | |
| |
tests/ | Fri Nov 14 20:55:10 -0800 2008 | |
| |
workflow.markdown | Wed Nov 12 20:09:31 -0800 2008 |
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-pto avoid same-branch merges and commit replays
Server-side Hooks
See the individual scripts for documentation, but an overview:
- post-receive-commitnumbers: makes Subversion-like monotonically increasing commit numbers for every commit
- post-receive-email: contrib email script with customizations for stuff like combined diffs
- post-receive-gitconfig: auto-updates the git config+hooks on the server when updated in the repo
- post-receive-hudson: auto-creates new jobs in Hudson when branches in git are created
- post-receive-trac: updates trac tickets with messages referencing the commits
- update-allow-tags-branches: contrib/example branch/tag enforcement script with customizations
- update-ensure-follows: allows nomination of special branches (e.g. stable) that everyone must have merged
- update-ensure-ticket-reference: enforces ticket references in commit messages (e.g. for trac)
- update-lock-check: enforces locked/preserved branches
- update-stable: enforces proper movement of stable
Client-side Hooks
- commit-msg-trac: enforces ticket references in commit messages
Bootstrapping Scripts
- create-gitconfig: creates a new DAG for managing repository-specific configuration (works with post-receive-gitconfig)
- create-stable: creates a new DAG for the first release to merge in to (works with update-stable)
Install Server-side Hooks
- Download/clone the
gcrepo to something like/srv/git/gc - Edit
your_repo.git/hooks/post-receiveandyour_repo.git/hooks/updateto call thegchooks as appropriate- post-receive.sample and update.sample are good templates to use for calling multiple hooks
Todo
- Install approach for scripts
- Install for client hooks







