What is .gitignore exactly?

.gitignore tells git which files (or patterns) it should ignore. It’s usually used to avoid committing transient files from your working directory that aren’t useful to other collaborators, such as compilation products, temporary files IDEs create, etc. You can find the full details here.

Git: Where exactly is the “working directory”?

I am going through some Git tutorials. The concept of a “working directory” keeps being mentioned, however, none of the tutorials or documents I read points out where or what this “working directory” is. I have thought that it was actually the .git‘s parent directory, a.k.a the directory I run git init in. But the … Read more

How to show math equations in general github’s markdown(not github’s blog)

But github show nothing for the math symbols! please help me, thanks! GitHub markdown parsing is performed by the SunDown (ex libUpSkirt) library. The motto of the library is “Standards compliant, fast, secure markdown processing library in C”. The important word being “secure” there, considering your question :). Indeed, allowing javascript to be executed would be a bit off of … Read more

Importing a GitHub project into Eclipse

As mentioned in Alain Beauvois‘s answer, and now (Q4 2013) better explained in Eclipse for GitHub EGit 3.x manual (section “Starting from existing Git Repositories”) Eclipse with GitHub EGit tutorial Copy the URL from GitHub and select in Eclipse from the menu the If the Git repo isn’t cloned yet: In> order to checkout a remote project, … Read more

key_load_public: invalid format

As Roland mentioned in their answer, it’s a warning that the ssh-agent doesn’t understand the format of the public key and even then, the public key will not be used locally. However, I can also elaborate and answer why the warning is there. It simply boils down to the fact that the PuTTY Key Generator generates two different public key formats depending on … Read more

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