You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I get some errors after run git-quick-stats in cygwin:
$ git-quick-stats
/usr/local/bin/git-quick-stats: line 2: $'\r': command not found
: invalid option nameick-stats: line 3: set: nounset
: invalid option nameick-stats: line 4: set: errexit
/usr/local/bin/git-quick-stats: line 5: $'\r': command not found
/usr/local/bin/git-quick-stats: line 28: syntax error near unexpected token `$'{\r''
'usr/local/bin/git-quick-stats: line 28: `function show_menu() {
The text was updated successfully, but these errors were encountered:
Hi @Zhevs you can use in cygwin /bin/dos2unix.exe /usr/local/bin/git-quick-stats
This will convert it to Unix format and you then should be able to run it.
this worked for me too, but can we have the scripts with the right line endings committed to the repository so this doesn't cause any issues for anyone else in the future, perhaps using a .gitattributes file would help achieve this?
Hello. I get some errors after run git-quick-stats in cygwin:
The text was updated successfully, but these errors were encountered: