Changes between Version 1 and Version 2 of GitRepositoryDetails


Ignore:
Timestamp:
09/05/13 12:05:38 (8 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitRepositoryDetails

    v1 v2  
    4040* `hooks.reponame=` (repository name) 
    4141* `hooks.commit-url-prefix=https://github.com/mit-athena/`(repository name)`/commit/` 
    42 ** TODO: Why doesn't this use hooks.reponame? 
     42 * TODO: Why doesn't this use hooks.reponame? 
    4343 
     44== Setting Up A New Repository For A New Package == 
    4445 
     46TODO: achernya should sanity check this.  Do we need to create the github repo separately? 
    4547 
    46  
     48{{{ 
     49git init --bare /git/athena/packagename.git 
     50cd /git/athena/packagename.git 
     51mv hooks hooks.orig 
     52ln -s /git/athena/krbdev-services/githooks hooks 
     53git config core.sharedRepository group 
     54git config core.logAllRefUpdates true 
     55git remote add --mirror=push github git@github.com:mit-athena/packagename.git 
     56git config gc.reflogexpire never 
     57git config gc.reflogexpireunreachable never 
     58git config receive.fsckObjects true 
     59git config receive.denyNonFastForwards true 
     60git config hooks.push-to github 
     61git config hooks.mailinglist source-commits@mit.edu 
     62git config hooks.verbose true 
     63git config hooks.reponame packagename 
     64git config hooks.commit-url-prefix https://github.com/mit-athena/packagename/commit/ 
     65}}}