-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Linux
Users of Debian-based Linuxes testing and unstable can use the apt-get tool to install gitflow from the Debian repository:
$ apt-get install git-flow
For Debian stable, one can either use the git flow installer, or the Debian package from unstable (it works just fine on stable too).
Users of Archlinux can use packer as a tool to get AUR packages.
$ yaourt -S gitflow-git
Users of Fedora can use yum as a tool to get RPM packages.
$ yum install gitflow
Ps.: Tested on Fedora 17, 18 and 19.
Users of openSUSE can use zypper
as a tool to get the RPM packages.
$ zypper ar http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_13.1/ devel:tools:scm
$ zypper in git-flow
For versions other than 13.1 the URL to the devel:tools:scm repository needs to be adjusted.
Under other Linuxes, the easiest way to install git-flow is using Rick Osborne's excellent git-flow installer, which can perform system-wide installation like so:
$ curl -OL https://raw.github.com/nvie/gitflow/develop/contrib/gitflow-installer.sh
$ chmod +x gitflow-installer.sh
$ sudo ./gitflow-installer.sh
For user installation, for example in ~/bin
:
$ INSTALL_PREFIX=~/bin ./gitflow-installer.sh
And if the installation directory (here, ~/bin
) is in the user's path, git will find the git-flow extensions.