Web- und Software Development

.gitignore – Geben Sie einen Dateinamen an – Windows

Written By: Mario Priebe - Jun• 11•10

Mit dem .gitignore File schließt man Dateien und Ordner aus. Will man jenes File unter dem Windowsexplorer anlegen, meckert Windows, dass das wohl so nicht läuft.

Um sich Abhilfe zu schaffen, einfach ein File namens “gitignore.txt” anlegen, in die Console wechseln und mit

ren gitignore.txt .gitignore

das File umbennen. Voila so klappts : )

Hier gleich noch mein Beispiel .gitignore File:

obj
bin
_ReSharper.*
*.csproj.user
*.resharper.user
*.resharper
*.suo
*.cache
~$*.DS_Store
.DS_Store
._*

Ähnliche Beiträge

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.