cmds: leave mode as-is when opening repositories
[git-cola.git] / README.md
blobc497ef82e464b6960932eec67be7a990c735bd35
1 # git-cola: The highly caffeinated git GUI
3     git-cola is a powerful Git GUI with a slick and intuitive user interface.
5     Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013
6     David Aguilar and contributors
8     This program is free software: you can redistribute it and/or modify
9     it under the terms of the GNU General Public License as published by
10     the Free Software Foundation, either version 2 of the License, or
11     (at your option) any later version.
13     This program is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     GNU General Public License for more details.
18     You should have received a copy of the GNU General Public License
19     along with this program.  If not, see <http://www.gnu.org/licenses/>.
21 ## SCREENSHOTS
23 Screenshots are available on the
24 [git-cola screenshots page](http://git-cola.github.io/screenshots.html).
26 ## DOWNLOAD
28     apt-get install git-cola python-pyinotify
30 New releases are available on the
31 [git-cola download page](http://git-cola.github.io/downloads.html).
33 ## FORK
35     git clone git://github.com/git-cola/git-cola.git
37 [git-cola on github](https://github.com/git-cola/git-cola)
39 [git-cola google group](http://groups.google.com/group/git-cola/)
42 # NUTRITIONAL FACTS
45 ## ACTIVE INGREDIENTS
47 * [git](http://git-scm.com/) 1.6.3 or newer
49 * [Python](http://python.org/) 2.5 through 2.7
51 * [PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download) 4.4 or newer
53 * [argparse](https://pypi.python.org/pypi/argparse) 1.1 or newer
54   argparse is part of the stdlib in Python 2.7; install argparse separately if
55   you are running on Python 2.6 or below.
57 ## ADDITIVES
59 [pyinotify](https://github.com/seb-m/pyinotify) 0.7.1 or newer
60 enables inotify support on Linux.
62 # BREWING INSTRUCTIONS
64 Normally you can just do "make install" to install *git-cola*
65 in your `$HOME` directory (`$HOME/bin`, `$HOME/share`, etc).
66 If you want to do a global install you can do
68     make prefix=/usr install
70 You don't need to `make` to run it, though.
71 *git-cola* is designed to run directly out of its source tree.
73     bin/git-cola
74     bin/git-dag
76 ## LINUX
78 Linux is it! Your distro has probably already packaged git-cola.
79 If not, please file a bug against your distribution ;-)
81 ### arch
83     yaourt -S git-cola
85 ### debian, ubuntu
87     apt-get install git-cola
89 ### fedora
91     yum install git-cola
93 ### gentoo
95     emerge git-cola
97 ### opensuse
99 Use the [one-click install link](http://software.opensuse.org/package/git-cola).
101 ## MAC OS X
103 [Homebrew](http://mxcl.github.com/homebrew/) is the easiest way to install
104 git-cola, *Qt4* and *PyQt4*.
106     brew install git-cola
108 Once brew has installed git-cola you can build a `git-cola.app`
109 application bundle from source and copy it to `/Applications`.
111     make git-cola.app
113 ## WINDOWS INSTALLATION
115 Download the latest stable Git, Python 2.x, and Py2x-PyQt4 installers
117 * [msysGit](http://msysgit.github.com/)
119 * [Python](http://python.org/download/)
121 * [PyQt](http://www.riverbankcomputing.co.uk/software/pyqt/download/)
123 * [git-cola Installer](https://github.com/git-cola/git-cola/downloads)
125 Once these are installed you can run *git-cola* from the Start menu or
126 by double-clicking on the `git-cola.pyw` script.
128 If you are developing *git-cola* on Windows you can use `python.exe` to run
129 *git-cola* directly from source.
131     python.exe bin/git-cola
133 If you want to build the `git-cola Installer` yourself run the provided script
135     contrib/win32/create-installer.sh
137 You have to make sure that the file
139     /share/InnoSetup/ISCC.exe
141 exists. That is normally the case when you run the *msysGit bash* and
142 not the *Git for Windows bash* (look [here](http://msysgit.github.com/)
143 for the differences).
145 ## GOODIES
147 *git-cola* ships with an interactive rebase editor called *git-xbase*.
148 *git-xbase* can be used to reorder and choose commits and can be launched
149 independently of the main *git-cola* interface, e.g.:
151     GIT_SEQUENCE_EDITOR=$PWD/share/git-cola/bin/git-xbase git rebase -i master