3. [Create /srv/git/some_repository](#create-on-server-global-repository)
- * Change permissions to git group for some_repository
- * git clone /srv/git/some_repository with: git clone some_user@server:/srv/git/some_repository
+ * Change permissions to git group for some_repository.
+4.
+ * git clone /srv/git/some_repository with: ```git clone some_user@server:/srv/git/some_repository```
4. [Git add, commit, push from the server if it is an initial new repository.](#git-add--commit)
```git config --list```
### Adding Without Shell Access Method
- * Thease are system type of accounts. That share same home directory wich the admin allow can public sercice access to an shared home.
- * Setting to a shared home in /tmp somewhere is not recomended. As on reboot the system might wipe the tmp dir.
+ * These are system type of accounts. That share same home directory which the admin allow can public service access to an shared home.
+ * Setting to a shared home in /tmp somewhere is not recommended. As on reboot the system might wipe the tmp dir.
```bash
mkdir /home/dev_share
[Top](#git-installation-for-developers-steps)
## Create On Server Global Repository
+```bash
+ mkdir /srv/git/PerlCNFWEBServer.git
+ chown -R git:git /srv/git/PerlCNFWEBServer.git/
+ cd /srv/git/PerlCNFWEBServer.git
+ touch git-daemon-export-ok
+ cd /srv/git
+ git init --bare --shared=group -b master PerlCNFWEBServer.git
+```
+
+
[Top](#git-installation-for-developers-steps)
<!-- code_chunk_output -->
#### **Table Of Contents**
-
- [Git Installation For Developers Steps](#git-installation-for-developers-steps)
- [Adding User](#adding-user)
+ - [Add git account first, if not already there](#add-git-account-first-if-not-already-there)
+ - [Adding Without Shell Access Method](#adding-without-shell-access-method)
+ - [Adding With Shell Access as Remote](#adding-with-shell-access-as-remote)
- [Create Public Key on Client](#create-public-key-on-client)
- [Create On Server Global Repository](#create-on-server-global-repository)
- [Git Add & Commit](#git-add--commit)
+ - [**Table Of Contents**](#table-of-contents)
<!-- /code_chunk_output -->
\ No newline at end of file