gitflow
gitflow copied to clipboard
Windows \r not found, syntax error near unexpected token
I just installed git-flow using the command below, found at git-flow cheatsheet
wget -q -O - --no-check-certificate https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | bash
Unfortunately, when I run git flow init, I get the below errors.
/usr/local/bin/git-flow: line 39: $'\r': command not found
'usr/local/bin/git-flow: line 52: syntax error near unexpected token `{
'usr/local/bin/git-flow: line 52: `usage() {
This should help:
dos2unix /usr/local/bin/git-flow-*
dos2unix /usr/local/bin/gitflow-*
dos2unix /usr/local/bin/git-flow*