Git: can I suppress listing of ‘modified content’/dirty submodule entries in status, diff, etc?

There is even a possibility to set the ignore mode for every added submodule within the .gitmodules file. Just today I encountered this problem and immediately wrote an article in my blog about it after finding a solution: How to ignore changes in git submodules The gist of it: Once you added a submodule there … Read more

git multiple user names for the different projects within the same system [duplicate]

Just use –local instead of –global. In fact, local is the default so you can just do git config user.email personal@example.org git config user.name “whatf hobbyist” in one repo, and git config user.email work@example.com git config user.name “whatf at work” in another repo The values will then be stored in in the .git/config for that … Read more

How can I make Sublime Text the default editor for Git?

Windows Sublime Text 2 (Build 2181) The latest Build 2181 just added support for the -w (wait) command line argument. The following configuration will allow ST2 to work as your default git editor on Windows. This will allow git to open ST2 for commit messages and such. git config –global core.editor “‘c:/program files/sublime text 2/sublime_text.exe’ … Read more

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