Talk:Creating Shared Git Repo
Revision as of 17:28, 18 November 2010 by Mayhewn (Setup suggestions)
- I don't think the global config is necessary when creating a bare repo. After all, no commits are being made.
- 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
- 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.
- After cloning,
originwill already be set up as a remote, so
git pushshould 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)