Nocode: Please add .gitignore to avoid committing any code by mistake

Created on 8 Feb 2018  Â·  4Comments  Â·  Source: kelseyhightower/nocode

I was working on nothing and I accidentally tried to commit a file with some code in it to the repo.
I think we should add a .gitignore file to prevent this kind of mistakes.
It should look like this:

*
*/

I'd happily open a PR if no one is interested in this.

Most helpful comment

This is error prone. How would you ignore this file itself if you don't plan to commit anything ?

You are right. Better do nothing in this case, as usual.

All 4 comments

This is error prone. How would you ignore this file itself if you don't plan to commit anything ?

This is error prone. How would you ignore this file itself if you don't plan to commit anything ?

You are right. Better do nothing in this case, as usual.

‌‌



  • -
    -
Was this page helpful?
0 / 5 - 0 ratings

Related issues

metzzo picture metzzo  Â·  3Comments

zhihuitang picture zhihuitang  Â·  3Comments

Jourday picture Jourday  Â·  3Comments

MarHoff picture MarHoff  Â·  3Comments

freecats picture freecats  Â·  3Comments