https://github.com/wizardjedi/php-git
Attempt to create viewer for Git repository in pure php
https://github.com/wizardjedi/php-git
Last synced: about 2 months ago
JSON representation
Attempt to create viewer for Git repository in pure php
- Host: GitHub
- URL: https://github.com/wizardjedi/php-git
- Owner: wizardjedi
- Created: 2016-11-20T08:47:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-26T18:03:00.000Z (over 8 years ago)
- Last Synced: 2025-01-21T01:42:40.221Z (4 months ago)
- Language: Shell
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-git
Attempt to create viewer for Git repository in pure php
# Sample
```
php -S 0.0.0.0:1234 -t web
```Run your browser and navigate to http://127.0.0.1:1234/test.php
# Working with repo
Clone repo from `data/test-prj` to any dir, make some commits and view on page: http://127.0.0.1:1234/test.php
# Useful links
* http://stackoverflow.com/questions/9478023/is-the-git-binary-diff-algorithm-delta-storage-standardized Pack files
* http://stefan.saasen.me/articles/git-clone-in-haskell-from-the-bottom-up/ Git in haskell
* https://bitbucket.org/ssaasen/git/src/master/Documentation/technical/pack-format.txt Pack file format from Git docs
* https://git-scm.com/book/en/v2/Git-Internals-Git-Objects git objects
* https://github.com/gitster/git/blob/master/Documentation/technical/pack-protocol.txt
* http://git.rsbx.net/Documents/Git_Data_Formats.txt