First commit any outstanding code changes, and then, run this command:
git rm -r --cached
This removes everything from theindex, then just run:
git add
Commit it:
using System.Text.RegularExpressions; | |
using System; | |
using System.IO; | |
string path = string.Empty; | |
if (Env.ScriptArgs.Count() == 1) | |
{ | |
path = Env.ScriptArgs[0]; | |
} |
First commit any outstanding code changes, and then, run this command:
git rm -r --cached
This removes everything from theindex, then just run:
git add
Commit it:
## Prepare a migration environment | |
Configure a migration environment on a local workstation and install the following software: | |
* [Git](https://git-for-windows.github.io/) | |
* [Subversion](https://subversion.apache.org/packages.html) | |
* [git-svn utility](https://www.kernel.org/pub/software/scm/git/docs/git-svn.html) (already part of Git) | |
You will also need to create a Git repository for your organization to host the converted SVN repository, you may follow [Create a new Git repo in your project | |
](/azure/devops/repos/git/create-new-repo) |
*.swp | |
*.*~ | |
project.lock.json | |
.DS_Store | |
*.pyc | |
# Visual Studio Code | |
.vscode | |
# User-specific files |