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:
*.swp | |
*.*~ | |
project.lock.json | |
.DS_Store | |
*.pyc | |
# Visual Studio Code | |
.vscode | |
# User-specific files |