The-Authenticators / gitpom

A pomodoro timer which integrates with github issues for mad efficiency and cool stuff.
https://salty-wave-92062.herokuapp.com/
MIT License
7 stars 4 forks source link

Capital letters in filenames #57

Open njsfield opened 7 years ago

njsfield commented 7 years ago

Don't capitalise file names, for example you have a file in lib called assignUser.js.

Why is this bad? Git doesn't recognise name changes in files when you are only affecting case (e.g. changing 'assignUser.js' to 'assignuser.js', when you try to commit that git won't recognise any changes). This could cause confusing errors down the line where files in master may differ from local files.

Instead, use - to seperate names (e.g. assign-user.js)

tbtommyb commented 7 years ago

http://stackoverflow.com/a/24979063

emilyb7 commented 7 years ago

let's not fix this and just resolve to do lowercase only file names for the rest of eternity