Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Joe – CLI Python tool for generating .gitignore files (github.com/karan)
32 points by kermit666 on Oct 2, 2015 | hide | past | favorite | 11 comments


You may want to rename your project.

http://joe-editor.sourceforge.net/


They already are https://github.com/karan/joe/issues/30

They were going with gi but that conflicts with gitignore.io

Someone else thought gi-joe and that is an Awesome name!


Agree. A good few years ago a large part of students at my uni used joe as their linux editor.


Been using https://www.gitignore.io/ with a lot of success


There is a cool oh-my-zsh plugin for this:

https://github.com/robbyrussell/oh-my-zsh/blob/master/plugin...


https://www.gitignore.io/docs

gitignore already has this and no need for a plugin.

$ echo "function gi() { curl -L -s https://www.gitignore.io/api/\$@ ;}" >> ~/.zshrc && source ~/.zshrc


Alternatively

    gitignore() {
        wget \
        https://raw.githubusercontent.com/github/gitignore/master/Global/OSX.gitignore \
        https://raw.githubusercontent.com/github/gitignore/master/$1.gitignore \
        -O .gitignore
    }


positive feedback: pretty well-presented, with a nice readme

negative feedback: the time required to run joe (including remember that it exists, possibly installing it, how to invoke it correctly) is going to be similar to the time required to just manually write a ignore file / copy and edit one from a previous project in the same language.


What advantage does this have over just grabbing the file from https://github.com/github/gitignore directly?


Saves time, I guess. The same reason you'd wanna use something like `howdoi` to get StackOverflow answers directly inside the terminal.

http://stackoverflow.com/a/14286317/544059


1 line shell function that does the same thing:

https://github.com/caarlos0/dotfiles/blob/master/git/aliases...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: