Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Very nice! I fed it one of my favorite commands:

    git branch --merged | grep -v master | xargs -n 1 git branch -d
and it dealt with it reasonably well. The only part it couldn't understand was `branch -d` at the end. In other words, it was not capable of recognizing that the non-option arguments to `xargs` should actually be recursively interpreted as a command-line.


TIL that git calls itself "the stupid content tracker"


Pretty funny seeing as the main complaint about git is that it's too complex


I also tried a command with xargs, it seemed to do a pretty good job: http://explainshell.com/explain?cmd=find+.+-type+f+-print0+%...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: