summaryrefslogtreecommitdiff
path: root/doc/git-init
blob: 612d477af00a72d16993ab7a4e049720e17d1590 (plain)
  1. remote$ mkdir public_html/git
  2. (etch)
  3. remote$ GIT_DIR=~/public_html/git/monkeysphere.git git init-db
  4. remote$ cd ~/public_html/git/monkeysphere.git
  5. remote$ chmod a+x hooks/post-update
  6. # NOT SURE IF THIS IS NEEDED: remote$ git-update-server-info
  7. fetch = +refs/heads/*:refs/remotes/dkg/*
  8. (newer)
  9. remote$ mkdir -p public_html/git/monkey.git
  10. remote$ cd public_html/git/monkey.git
  11. remote$ git --bare init
  12. remote$ chmod a+x hooks/post-update
  13. remote$ git-update-server-info
  14. (new way! no origin/)
  15. $ cd ~/src
  16. $ mkdir monkeysphere
  17. $ cd monkeysphere
  18. $ git init
  19. $ git remote add -f mlcastle http://git.mlcastle.net/monkeysphere.git/
  20. $ git remote add grunt grunt:/whatever
  21. $ git config remote.grunt.push "+refs/heads/*"
  22. $ git merge mlcastle/master
  23. $ git push grunt
  24. (old way!)
  25. (in ~/src or wherever)
  26. local$ git clone http://git.mlcastle.net/monkeysphere.git/ monkeysphere
  27. local$ cd monkeysphere
  28. .git/config:
  29. [core]
  30. repositoryformatversion = 0
  31. filemode = true
  32. bare = false
  33. logallrefupdates = true
  34. ## THIS ONE NEEDS TO BE CHANGED TO YOUR REMOTE URI
  35. [remote "post"]
  36. url = YOUR-REMOTE-URL/git/monkeysphere.git
  37. push = +refs/heads/*
  38. ### THE ABOVE ONE NEEDS TO BE CHANGED
  39. [remote "mlcastle"]
  40. url = http://git.mlcastle.net/monkeysphere.git/
  41. fetch = +refs/heads/*:refs/remotes/mlcastle/*
  42. [remote "jrollins"]
  43. url = http://lair.fifthhorseman.net/~jrollins/git/monkeysphere.git/
  44. fetch = +refs/heads/*:refs/remotes/jrollins/*
  45. [remote "dkg"]
  46. url = http://lair.fifthhorseman.net/~dkg/git/monkeysphere.git/
  47. fetch = +refs/heads/*:refs/remotes/dkg/*
  48. [remote "mjgoins"] SEE: dkg, jrollins, etc.
  49. [remote "jamie"]
  50. url = http://current.workingdirectory.net/projects/monkeysphere.git
  51. fetch = +refs/heads/*:refs/remotes/jamie/*
  52. [remote "micah"]
  53. url = http://micah.riseup.net/git/monkeysphere.git
  54. fetch = +refs/heads/*:refs/remotes/micah/*
  55. [remote "enw"]
  56. url = http://lair.fifthhorseman.net/~enw/git/monkeysphere.git/
  57. fetch = +refs/heads/*:refs/remotes/enw/*
  58. [remote "rossg"]
  59. url = http://lair.fifthhorseman.net/~rossg/git/monkeysphere.git/
  60. fetch = +refs/heads/*:refs/remotes/rossg/*
  61. [remote "greg"]
  62. url = http://lair.fifthhorseman.net/~greg/git/monkeysphere.git/
  63. fetch = +refs/heads/*:refs/remotes/greg/*
  64. blood type =
  65. -----------------
  66. [remote "upload"]
  67. url = ssh://z.mlcastle.net/var/www/git/monkeysphere.git/
  68. push = +refs/heads/*
  69. $ git fetch dkg
  70. $ git checkout master
  71. $ git merge remotes/dkg/master
  72. $ git push post
  73. grunt's fingerprint: be:43:9c:03:9c:04:1a:97:7a:61:8a:fe:71:9d:6c:67
  74. (grunt is lair.fifthhorseman.net)
  75. git remote update
  76. what are the configurations below?
  77. ---------------------
  78. set mainfont {Arial 12}
  79. set textfont { Courier 12}
  80. set uifont {Arial 10 bold}
  81. set tabstop 8
  82. set findmergefiles 0
  83. set maxgraphpct 50
  84. set maxwidth 16
  85. set cmitmode patch
  86. set wrapcomment none
  87. set showneartags 1
  88. set showlocalchanges 1
  89. set datetimeformat {%Y-%m-%d %H:%M:%S}
  90. set limitdiffs 1
  91. set bgcolor white
  92. set fgcolor black
  93. set colors {green red blue magenta darkgrey brown orange}
  94. set diffcolors {red "#00a000" blue}
  95. set diffcontext 3
  96. set selectbgcolor gray85
  97. set geometry(main) 1280x936+14+28
  98. set geometry(topwidth) 1278
  99. set geometry(topheight) 286
  100. set geometry(pwsash0) "638 1"
  101. set geometry(pwsash1) "903 1"
  102. set geometry(botwidth) 1001
  103. set geometry(botheight) 638
  104. set permviews {}
  105. ---------------------