tagged [version-control]

Undo git update-index --assume-unchanged <file>

Undo git update-index --assume-unchanged I have run the following command to ignore watching/tracking a particular directory/file: How can I undo this, so that `` is watched/tracked again?

10 Mar at 19:29

Is there a migration tool from CVS to Git?

Is there a migration tool from CVS to Git? I intend to switch over from CVS to Git. In the case of SVN, there seems to be `cvs2svn`. Is there a similar tool to easily migrate from CVS to Git?

19 Jan at 18:51

Any tool to migrate repo from Vault to Subversion?

Any tool to migrate repo from Vault to Subversion? Are there any to facilitate a migration from [Sourcegear's Vault](http://www.sourcegear.com/vault/index.html) to [Subversion](http://subversion.tigri...

Is there a way to get the git root directory in one command?

Is there a way to get the git root directory in one command? Mercurial has a way of printing the root directory (that contains .hg) via Is there something equivalent in git to get the directory that c...

9 Apr at 18:10

Git mergetool generates unwanted .orig files

Git mergetool generates unwanted .orig files When I do a merge conflict resolution with Kdiff3 (and other merge tool I tried) I noticed that on resolution a `*.orig` file is created. Is there a way fo...

8 Apr at 21:12

Ignore files that have already been committed to a Git repository

Ignore files that have already been committed to a Git repository I have an already initialized Git repository that I added a `.gitignore` file to. How can I refresh the file index so the files I want...

Should I check the dotnet-tools .config directory into source control?

Should I check the dotnet-tools .config directory into source control? Recently I've noticed a `.config` directory being created by Visual Studio with a `dotnet-tools.json` file in. Should this be `.g...

How do I undo the most recent local commits in Git?

How do I undo the most recent local commits in Git? I accidentally committed the wrong files to [Git](https://en.wikipedia.org/wiki/Git), but didn't push the commit to the server yet. > How do I undo ...

23 Nov at 12:53

How can I stop .gitignore from appearing in the list of untracked files?

How can I stop .gitignore from appearing in the list of untracked files? I just did a `git init` on the root of my new project. Then I created a `.gitignore` file. Now, when I type `git status`, file ...

16 Oct at 09:13

How do I reset or revert a file to a specific revision?

How do I reset or revert a file to a specific revision? How do I revert a modified file to its previous revision at a specific commit hash (which I determined via [git log](https://git-scm.com/docs/gi...

8 Jul at 04:17