|
Size: 904
Comment:
|
Size: 658
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
This document covers the setup of a git remote server. For information on using `git` as an end-user, consider instead: * [[GitBranches]] |
|
| Line 12: | Line 8: |
== Git Versioning System == See: * [[Git/Branches|Git Branches]] ---- |
|
| Line 14: | Line 21: |
| === CGit === | See: |
| Line 16: | Line 23: |
| [[CGitSetup|CGit]] is a very lightweight and resource-efficient solution for viewing git repositories in the web. Fundamentally it is ''only'' a tool for viewing a git repository: | * !GitWeb * [[CGit|CGit]] |
| Line 18: | Line 26: |
| * You must maintain a git repository local to the '''CGit''' instance * There is no integrated bug or issue tracker * Features generally considered mandatory-like authentication, rendering of markdown `README` files, and syntax highlighting-are dependent on filter plugins |
---- |
| Line 22: | Line 28: |
| Given the lightweight nature and minimal feature set, '''CGit''' is ideal for entirely public projects that handle bug tracking independently of source code hosting, or for hosting private code on an intranet. | == Tips == === Fatal error when cloning a remote repository === If git fails to clone a remote repository, possibly with one of the following error messages: {{{ fatal: fetch-pack: invalid index-pack output ... fatal: early EOF fatal: index-pack failed }}} Then try a '''shallow clone''' first: {{{ git clone --depth 1 https://example.com/repo.git git fetch --unshallow git pull --all }}} ---- CategoryRicottone |
Git
Git Versioning System
See:
Web Interfaces
See:
!GitWeb
Tips
Fatal error when cloning a remote repository
If git fails to clone a remote repository, possibly with one of the following error messages:
fatal: fetch-pack: invalid index-pack output ... fatal: early EOF fatal: index-pack failed
Then try a shallow clone first:
git clone --depth 1 https://example.com/repo.git git fetch --unshallow git pull --all
