Show Menu

ELEDU | Dev Conventions Cheat Sheet by

IDE + GIT base config for developers. In addition, commit messages conventions

IDE Config (Java & JS)

Text file encoding
New text file delimiter
Spaces only; size: 4
Line Wrapping
Max line width: 120
Wrapping settin­gs/­Fun­ction Calls Qualified invoca­tions
Wrap all elements, except first element if not necessary

Wrap all elements, every element on a new line

new Dog("Scooby Doo").pa()

GIT Config

@Unix (Linux­/Mac)
git config --global core.a­utocrlf input
git config --global core.a­utocrlf true
git config --global push.d­efault simple
git config --global pull.r­ebase true
git config --global rerere.en­abled true

Commits conven­tions

Imperative mood (git short style): Add, Update, Delete, Fix, Merge, etc, etc
Add title 50 chars max
-- empty line between title and body --
Add body 72 chars max per line

Summarize changes in around 50 characters or less

More detailed explan­atory text, if necessary. Wrap it to about 72 characters or so.


No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Sublime Text 2 Windows Keyboard Shortcuts
          C Reference Cheat Sheet
          ISTQB Test Automation Engineering Cheat Sheet