Is there a way to tell git-status to ignore the effects of .gitignore files?

This option –ignored does the trick: git status –ignored (Update 1) I found the –ignored option alone doesn’t work in certain git installations, perhaps it’s a git bug. In those cases, an additional -s works for me: git status -s –ignored (Update 2) One user reported –ignored option is not supported in git version 1.7.0.4. … Read more

Git refuses to reset/discard files

Normalize line endings The change that is in the modification is deleting all lines and adding them again. This is because the newlines are being changed between the committed files and the files on disk. Github has a handy page detailing how to deal with this kind of problem, in brief (for linux/OSX), step one … Read more

How to colorize git-status output?

From git config doc: color.status.<slot> Use customized color for status colorization. <slot> is one of: header (the header text of the status message), added or updated (files which are added but not committed), changed (files which are changed but not added in the index), untracked (files which are not tracked by git), branch (the current … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)