What does “!eol” in gitattributes do?

Git has 2 attributes that deal with end-of-lines: text Documentation says: This attribute enables and controls end-of-line normalization. When a text file is normalized, its line endings are converted to LF in the repository This effectively means that when you commit to the repo, it will convert line-endings to LF eol Documentation says: This attribute … Read more

Setting up Beyond Compare in Visual Studio 2013 when using Git

At least for VS 2012 you can actually just update from the command prompt as shown on the Scooter website. http://www.scootersoftware.com/support.php?zz=kb_vcs#gitwindows If you’ve installed msysgitVS using the Configure User Tools thingy in VS, your path to Git will probably be: C:\Program Files (x86)\Git\cmd\git.exe For Git 1.7.6 and newer, edit the global config file to set … Read more

GitHub: Accept Pull Request, But Only Some Commits

Next to the “Merge pull request” button, there should be a “Use the command line” link to instructions on how to do it manually. You should follow these instructions (create new local branch and pull in their changes), but then instead of merging that whole branch back into master, you just cherry-pick the commits you … Read more

Push local Git branch to origin

Instead of using git pull (which fetches and merges), try git fetch (which won’t try to merge with your current branch on machine2, and cause conflicts): # Machine 1 $ git push origin testing # Machine 2 $ git fetch origin testing $ git checkout -b testing origin/testing

Visual Studio 2013 Team Explorer/Git integration missing files

I experienced something similar recently but excluding and then re-including the missing files didn’t work for me. In VS2013 Premium, I noticed there’s a “Untracked Files” section at the bottom of the Changes window. It was simply a matter of right-clicking the files I wanted to include and adding them. Not ideal, indeed, but another … Read more

How to update npm modules, ignoring a git repo

npm checks all directories for the existance of a .git directory, and throws the EISGIT error if it exists, so there is no way to ignore it or skip it. The code does however check if it’s a link: mod.parent && !mod.isLink && [checkGit, mod.realpath], So I was able to make it work by symlinking … Read more

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