How to install git-flow on Linux

One week ago, I started using git-flow on eddic. This is a collection of Git extensions to easily follow a branching-model convention for a Git project. I will try to describe this project later on this blog.

You can install git-flow using this simple command:

wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh

I recommend you to install a script to autocomplete the git-flow commands and params:

mkdir -p ~/src/external && cd ~/src/external
git clone https://github.com/bobthecow/git-flow-completion.git git-flow-completion
mkdir -p ~/bin/ && cd ~/bin
ln -s ~/src/external/git-flow-completion/git-flow-completion.bash ./git-flow-completion.bash

Then add a simple command in your .bashrc file:

source ~/bin/git-flow-completion.bash

If you want an introduction of git-flow, I recommend you this blog post : Why aren't you using git-flow ?

Related articles

  • Version Control with Git – Book Review
  • EDDIC 0.5 : Functions and foreach
  • JTheque is migrating to Git
  • Git Tip : Restore a deleted tag
  • pm 0.1.1 - A simple workspace manager for Git projects
  • Install the Insight Debugger on Linux Mint (works for Ubuntu too)
  • Comments

    Comments powered by Disqus