Maybe I'm lacking some google search skills, but, before I start building one from scratch,
Is there a ready-made web-based git commit tool?
What I need it to do is allow the user, from a web interface, to:
This is so I can enable people without command line skills to push their template changes
Thanks
This git extension is a standalone web based user interface for git repositories. It comes with history and tree browsing. You may also use it to commit as it comes with an UI to review local changes and the ability to stage / unstage code.
To push the commit from the local repo to your remote repositories, run git push -u remote-name branch-name where remote-name is the nickname the local repo uses for the remote repositories and branch-name is the name of the branch to push to the repository. You only have to use the -u option the first time you push.
Gitweb provides a web interface to Git repositories. Its features include: Viewing multiple Git repositories with common root. Browsing every revision of the repository. Viewing the contents of files in the repository at any revision.
The most popular VCS (at least among web developers) is Git, along with GitHub, a site that provides hosting for your repositories and several tools for working with them.
It shouldn't be to complicated to make one.
I just checked it, if you have a recent git version (I think a git 1.7.x will do), here are the commands:
# get list of files changed (porcelain output is machine parsable with status information per file):
git status --porcelain
# get diff of file
git diff $FILE
# add file to index/cache to commit
git add $FILE
# do dry-run before commit
git commit --dry-run --porcelain
# commit file(s)
git commit --file=/tmp/commit.message
# or commit message from stdin:
git commit --file=-
If someone does make one, please put it up on github so we can all use it.
And don't forget to put a password-system on it to prevent just about anyone changing your code.
UPDATE: I've created a small web-based commit tool:
https://github.com/Lennie/git-webcommit
https://github.com/Lennie/git-webcommit
I haven't tried all of these, but surely one of the GUI or web interfaces in this gigantic list will fit your needs or come close enough for you to customize yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With