/ingit

The easiest way to use git. On any platform. Anywhere.

Primary LanguageJavaScript

ingit

NPM version Build Status Join the chat at https://gitter.im/capaj/ingit

The easiest way to use git. On any platform. Anywhere.

xkcd

Git is known for being a versatile distributed source control system that is a staple of many individuals, communities, and even for the City of Chattanooga to crowd source bicycle parking locations. However, it is not known for userfriendlyness or easy learning curve.

Ingit is to bring user friendliness to git without sacrificing versatility of git.

  • Clean and intuitive UI that makes it easy to understand git.
  • Runs on any platform that node.js & git supports.
  • Web-based, meaning you can run it on your cloud/pure shell machine and use the ui from your browser (just browse to http://your-cloud-machine.com:8448).
  • Works well with GitHub.

Follow @ingitui on twitter

Quick intro to ingit: http://youtu.be/hkBVAi3oKvo

Screenshot

Why the fork?

Ungit is quite an old project and while it is fairly well maintained, it got a bit stale. I use it every day for most of my interaction with git and I really want this kind of UI to be universally used by programmers. I see way too many struggle in the command line. Programmers need their tools fast and reliable. Currently with ungit I don't see how that can be achieved. It's quite hard to contribute to the project, current issues aren't resolved, there are very few maintainers. This is a vicious cycle that needs to stop. The way I propose to do it is to rewrite most of the code, fix bugs and introduce new features.

What I plan:

  • callback style code into async/await style
  • instead of grunt use webpack for building assets
  • knockout.js should be replaced by react+mobx

Hopefully active people in the react community will notice and help me out.

Installing

Requires node.js (≥ 7.0.0), npm (≥ 3.0.0, comes with node.js) and git (≥ 1.8.x). To install ingit just type:

npm install -g ingit

NOTE: If your system requires root access to install global npm packages, make sure you use the -H flag:

sudo -H npm install -g ingit

Using

Anywhere you want to start, just type:

ingit

This will launch the server and open up a browser with the ui.

Configuring

Put a configuration file called .ingitrc in your home directory (/home/USERNAME on *nix, C:/Users/USERNAME/ on windows). Can be in either json or ini format. See source/config.js for available options.

You can also override configuration variables at launch by specifying them as command line arguments; ingit --port=8080. To disable boolean features use --no: ingit --no-autoFetch.

Example of ~/.ingitrc configuration file to change default port and enable bugtracking:

{
	"port": 8080,
	"bugtracking": true
}

Ingit uses rc for configuration, which in turn uses yargs for command line arguments. See corresponding documentations for more details.

External Merge Tools

If you have your own merge tool that you would like to use, such as Kaleidoscope or p4merge, you can configure ingit to use it. See MERGETOOL.md.

Plugins

Plugins are installed by simply placing them in the Ingit plugin directory (~/.ingit/plugins by default), and then restarting Ingit.

List of available plugins

There's a guide in the PLUGINS.md file on how to write new plugins.

Text Editor Integration

atom-ingit Screenshot

atom-brackets Screenshot

Developing

See CONTRIBUTING.md.

Maintainers

Known issues

  • If you're running MacOSX Mavericks and Ungit crashes after a few seconds; try updating npm and node. See #259 and #249 for details.
  • Ubuntu users may have trouble installing because the node executable is named differently on Ubuntu, see #401 for details.
  • Debian Wheezy's supported git and nodejs packages are too old, therefore download newest git and nodejs tarballs and build from source.

Changelog

See CHANGELOG.md.

License (MIT)

Copyright (C) 2016 Jiří Špác

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependency Status devDependency Status