Git excludesfile for a branch

Git does not support per-branch excludes files You’re trying to achieve something that Git does not support. The blog post is the original source of this hoax that the Stack Overflow answer only parroted. As noted in comments under that answer, even the original blog post contains a discussion that brings out that the solution … Read more

Multiple .gitignore in subfolders

Answer is: Yes, it is possible to have a .gitignore file in a subfolder. Documentation: When deciding whether to ignore a path, Git normally checks gitignore patterns from multiple sources, with the following order of precedence, from highest to lowest (within one level of precedence, the last matching pattern decides the outcome): Patterns read from … Read more

How to add a comment in a .gitignore file?

Yes, you may put comments in there. They however must start at the beginning of a line. cf. http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files The rules for the patterns you can put in the .gitignore file are as follows: – Blank lines or lines starting with # are ignored. […] The comment character is #, example: # no .a files … Read more

What does *~ do in a .gitignore file?

It ignores all files whose name ends in ~, which is a usual suffix for text editors backup files. * is a special symbol and means “any sequence of zero or more characters”, while ~ is just an ordinary character. Putting the two parts together: “zero or more characters followed by a ~”.

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