Wenn ich ‚git status‘ schlagen, zeigt es zwei Ordner, die Dateien enthält, die vor langer Zeit verfolgt werden:Git unter Windows: Warum habe ich plötzlich ein unverfolgtes Verzeichnis, das früher verfolgt wurde?
wie erwartet$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/UI/Views/Shared/EditorTemplates/
# src/Web/helpers/
nothing added to commit but untracked files present (use "git add" to track)
Git GUI zeigt nichts.
Mit portablegit 1.7.1, aber versuchte 1.7.0.2 - die gleichen Ergebnisse.
Was kann das verursachen?
$ cat .gitignore
.nu/*
lib/*
*~
*.swp
*.swo
*_ReSharper*
doc/*
RAPLM.suo
RAPLM.5.1.ReSharper.user
src/*/bin/*
src/*/obj/*
src/*/Debug/*
src/*/Release/*
src/Domain/unused
@Charles Bailey
[email protected] /d/work/asdf (master)
$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/UI/Views/Shared/EditorTemplates/
# src/Web/helpers/
nothing added to commit but untracked files present (use "git add" to track)
[email protected] /d/work/asdf (master)
$ git add src/Web/helpers/
[email protected] /d/work/asdf (master)
$ git add src/Web/helpers/*
[email protected] /d/work/asdf (master)
$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/UI/Views/Shared/EditorTemplates/
# src/Web/helpers/
nothing added to commit but untracked files present (use "git add" to track)
[email protected] /d/work/asdf (master)
$
@Charles
$ git ls-tree -r HEAD | grep -i Helfer
100644 blob 843de27f850308786140a7c09f67b5ef99184630 src/web/Helfer/HtmlHelperExtensions.cs
Werfen Sie einen Blick auf Ihre .gitignore-Datei. – adamk
@adamk tat ich. was hat sich geändert? :/ –
@Arnis: Es war eine Ahnung, ich denke, es ist nicht ... – adamk