hg local ignore

This is what I was looking for. Add the following to the repo’s .hg/hgrc: [ui] ignore = /path/to/repo/.hg/hgignore and create a new file .hg/hgignore beside it. This new file will be untracked, but work the same as the versioned .hgignore file for this specific working copy. (The /path/to/repo bit is unfortunate but necessary to make … Read more

Git remove directory

This is what I use, and I think you’ll want to as well. It’s close to the other answers, but instructs git to NOT change the local files. git rm -r -f –cached DirectoryName -r : recursive -f : force –cached : apply ONLY to index (staging area). Git leaves the local copies alone.

Is there a way to remove the history for a single file in Mercurial?

It is correct that you cannot easily remove a particular file from Mercurial in the sense that doing so will disrupt all the changeset IDs in your repository. When you change the changeset IDs, everybody has to re-clone the repository. See the Wiki page about editing history for information about the consequences of modifying the … Read more

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