A better way to setup git flow
Add the alias git flow-setup by running the following command once:
$ git config --global alias.flow-setup '!git branch --track develop origin/develop 2>/dev/null ; git flow init -fd && git checkout master && git pull origin master && git checkout develop && git pull origin develop'
To use, clone a git repository and run:
$ git clone https://github.com/blah/blah.git
$ cd git
$ git flow-setup
Written by Alan Ivey
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#