Should XCSharedData be checked into Git Repo for Xcode project?

The files in xcshareddata/ should be added to the repo (but not the ones in xcuserdata/): Xcode 9.3 adds a new IDEWorkspaceChecks.plist file to a workspace’s shared data, to store the state of necessary workspace checks. Committing this file to source control will prevent unnecessary rerunning of those checks for each user opening the workspace. … Read more

Is there a way to tell git-status to ignore the effects of .gitignore files?

This option –ignored does the trick: git status –ignored (Update 1) I found the –ignored option alone doesn’t work in certain git installations, perhaps it’s a git bug. In those cases, an additional -s works for me: git status -s –ignored (Update 2) One user reported –ignored option is not supported in git version 1.7.0.4. … Read more

Tell Sublime Text to ignore everything in .gitignore?

I created a quick-and-dirty plugin, sublime-gitignorer, to solve exactly this problem. It is currently tested on Ubuntu and Windows in Sublime Text 2 and 3. I expect it will also work on any other Linux distro or on Mac. To install, assuming you have package control, just: Press CTRL+SHIFT+P (CMD+SHIFT+P on Mac) Select “Install Package” … Read more

Difference in the paths in .gitignore file?

This depends on the behavior of your shell. Git doesn’t do any work to determine how to expand these. In general, * matches any single file or folder: /a/*/z matches /a/b/z matches /a/c/z doesn’t match /a/b/c/z ** matches any string of folders: /a/**/z matches /a/b/z matches /a/b/c/z matches /a/b/c/d/e/f/g/h/i/z doesn’t match /a/b/c/z/d.pr0n Combine ** with … Read more

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