git
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | git [2018/06/28 07:59] – created 192.168.1.102 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Setup a local git server ====== | ||
+ | These steps are from this page: http:// | ||
+ | * Create a group for git users: groupadd gitgroup | ||
+ | * Add each user with " | ||
+ | * Create the repo in a place which has at least group/user level rx permissions (don't need w): | ||
+ | < | ||
+ | # cd < | ||
+ | # git init --bare < | ||
+ | # chmod g+rx < | ||
+ | # chown -R :gitgroup < | ||
+ | # cd < | ||
+ | # git config core.sharedRepository group | ||
+ | # find . -type d -print0 | xargs -0 chmod 2770 | ||
+ | # find . -type f -print0 | xargs -0 chmod g=u | ||
+ | </ | ||
+ | * Clients can now login with SSH authentication and clone the repo |
git.txt · Last modified: 2021/10/06 10:45 by buchanan