Add .gitignore
ClosedPublic

Authored by aspotashev on Jun 20 2019, 3:08 PM.

Details

Diff Detail

Repository
R1046 Pology
Branch
gitignore
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13066
Build 13084: arc lint + arc unit
aspotashev requested review of this revision.Jun 20 2019, 3:08 PM
aspotashev created this revision.
sdepiets accepted this revision.Jun 20 2019, 3:20 PM
sdepiets added a subscriber: sdepiets.

Thanks

This revision is now accepted and ready to land.Jun 20 2019, 3:20 PM
pino added a subscriber: pino.Jun 20 2019, 3:21 PM
pino added inline comments.
.gitignore
2

why?

3

i don't think this is needed...

aspotashev added inline comments.Jun 20 2019, 3:32 PM
.gitignore
2

To make "git status" not display the hidden files that start with a dot. For example:

  • Vim swap files, e.g. ".NEWS.swp"
  • PyCharm's directory ".idea"
  • may be also KDevelop's directory ".kdev4", if anyone uses KDevelop for projects in Python
pino added inline comments.Jun 20 2019, 3:42 PM
.gitignore
2

To make "git status" not display the hidden files that start with a dot.

Yes, I know what it does. I think it is way too broad, and adding excludes for the actually used bits is way better.

  • Vim swap files, e.g. ".NEWS.swp"

If you get this, then it means that either:

  • you are running git status while editing a file (so the swap file will disappear once you finish editing)
  • vim crashed, so that leftover file is something you need to handle (recover & delete, or simply delete)

so IMHO hiding it is more harmful than useful

  • PyCharm's directory ".idea"
  • may be also KDevelop's directory ".kdev4", if anyone uses KDevelop for projects in Python

OK to both, although I'd add them as needed by anyone working on it, when needed

remove ".*" from gitignore, ignore more precisely

pino accepted this revision.Jun 21 2019, 4:12 PM

Better now, thanks!

This revision was automatically updated to reflect the committed changes.