What does the small preceding red minus icon mean in my Visual Studio Solution Explorer?

According to the version control icon documentation, it indicates files that have been excluded from version control, for example in the .gitingore file. However, in my case with Visual Studio Community 2015 Update 2, those icons also show up when I create a new project. Even if none of the created files are explicitly ignored … Read more

Git checkout second remote branch

mygithub/master is a remote branch. To create a local branch based off of that remote branch, you have to use git checkout -b mymaster mygithub/master. Git tries to make this easy for you: if you write git checkout branchname, and branchname only exists in a remote, but not locally, Git will automatically set up a … Read more

Maven release plugin git credentials

Based on the docs you have to use a special property, project.scm.id, to define the id of the appropriate server entry in your settings.xml file. <properties> <project.scm.id>my-scm-server</project.scm.id> </properties> And the following in your settings.xml file: <settings> <servers> <server> <id>my-scm-server</id> <username>myUser</username> <password>myPassword</password> </server> </servers> </settings> BTW: Check if you are using the most recent version of … Read more

List modified file names in a git stash

The show sub-command, in the end, invokes git diff with whatever flags you have set, or –stat if you did not set any, so simply git stash show –name-only, which runs git diff –name-only between the base commit and the work-tree commit. (See here and here for a description of what I have taken to … Read more

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