«

»

Mar 24

How to create a git repository

How to create a git repository on your own server:

mkdir <dir-name>

chown <username>:<git-users-group> <dir-name>

chmod g+ws <dir-name>

cd <dir-name>

git init

chmod g+ws .git

git config –bool core.bare true

 

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>