Talk:Creating Shared Git Repo

From LSDevLinux
Revision as of 17:28, 18 November 2010 by Mayhewn (talk | contribs) (Setup suggestions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Setup

  1. I don't think the global config is necessary when creating a bare repo. After all, no commits are being made.
  2. Rahab's version of git doesn't seem to allow you to specify a directory name with init. You have to:
    mkdir PROJECTNAME.git; cd PROJECTNAME.git; git init --bare --shared=group
  3. I'd prefer us just not to offer http access, and since this may go away at some point in the future I think we shouldn't include this in our instructions. Http is useful only for people whose company firewall blocks outgoing git connections, and if we get a request from someone like that we can consider enabling it then.
  4. After cloning, origin will already be set up as a remote, so git push should be sufficient. At the most it should be git push origin master. Putting the whole ssh URL in the instructions seems offputting.

--Neil Mayhew 23:28, 18 November 2010 (UTC)