Code Monkey home page Code Monkey logo

git-php-webtool's Introduction

git webcommit

A tool to commit changed/new files from a directory on the webserver straight from the browser.

It is meant to NOT make changes to the files in directory, only append new history to the repository.

It also is not a repository browser/viewer.

Example use cases:
People working together on a project in a shared directory on a server. Which could be a WordPress or Drupal website
where people want to keep track of changes made to templates and plugins or people uploading documents to a shared directory.

[Screenshot: ][https://github.com/Lennie/git-webcommit/raw/master/screenshot.png]

Basic workflow:
When you visit the webpage it displays a list of added/removed/changed/renamed files, you click on the filename you might want
to commit to see the diff, you stage the file(s), you write a commit message and commit.

Installation/setup:
All you need is a git repository on the server, change some settings at the top and upload the single PHP-file to your webserver.

Depends on as little as possible installed on the webserver:
- git v1.7.x (why that version ? it needs: git status --porcelain)
- php 5.2+
- diff
- wc (for stats)

Authentication can be handled by the webserver (htpasswd) or with a hash in the settings section of the PHP-file.

Missing, but planned features:
- diff stats: number of lines added/removed
- git commit stats
- listing .gitignore
- editing .gitignore
- ondemand diffs
- repository chooser
- amend commit

git-php-webtool's People

Contributors

lennie avatar cb1986ster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.