Δημιουργία αποθετηρίου στο Pleiades
Αρχικοποιούμε ένα αποθετήριο στον κοινόχρηστο κατάλογο
/mnt/nas
δίνοντας τις παραμέτρους
--bare
--
shared
. Με το --bare δηλώνουμε ότι το αποθετήριο θα είναι κενό και με το --shared ότι οι χρήστες που ανήκουν
στο ίδιο group μπορούν να δημοσιεύουν σε αυτό το αποθετήριο.
Από το man page:
--bare
Create a bare repository. If GIT_DIR environment is not set, it is set to the current working directory.
--shared
[=(false|true|umask|group|all|world|everybody|0xxx)]
Specify that the git repository is to be shared amongst several users. This allows users belonging to the
same group to push into that repository. When specified, the config variable “core.sharedRepository" is set so
that files and directories under $GIT_DIR are created with the requested permissions. When not specified, git
will use permissions reported by umask(2).