cgit
lets you control a git repository using HTTP get calls.
- git
- a web server
- Make a directory for your project (DocumentRoot)
- Set chmod 777 for the empty directory
git clone git://github.com/slim/cgit.git
in the root directory- Init your project tree using cgit by browsing to
server-url/cgit/?init
Command format is :
server-url/cgit/?<command>=<arguments>&<command>=<arguments>&...
Where the <command>
parameter is any one of push
, pull
, commit
, checkout
, etc. and <arguments>
are the arguments for the specified command.