visual studio 2013 GIT忽略列表不';不要忽略DLL
我正在Visual Studio 2013上使用Visual Studio OnlineGIT存储库,由于某些原因,我的项目bin、obj目录以及其他DLL和PDB在更改跟踪中不会被忽略 这是我的.gitignore文件,我尝试了所有在网上找到的建议,比如添加.tfignore和其他东西,但没有任何帮助visual studio 2013 GIT忽略列表不';不要忽略DLL,git,visual-studio-2013,gitignore,Git,Visual Studio 2013,Gitignore,我正在Visual Studio 2013上使用Visual Studio OnlineGIT存储库,由于某些原因,我的项目bin、obj目录以及其他DLL和PDB在更改跟踪中不会被忽略 这是我的.gitignore文件,我尝试了所有在网上找到的建议,比如添加.tfignore和其他东西,但没有任何帮助 # Download this file using PowerShell v3 under Windows with the following comand # Invoke-WebRequ
# Download this file using PowerShell v3 under Windows with the following comand
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.dll
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# OS generated files #
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.Publish.xml
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
modulesbin/
tempbin/
# EPiServer Site file (VPP)
AppData/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# vim
*.txt~
*.swp
*.swo
# svn
.svn
# SQL Server files
**/App_Data/*.mdf
**/App_Data/*.ldf
**/App_Data/*.sdf
#LightSwitch generated files
GeneratedArtifacts/
_Pvt_Extensions/
ModelManifest.xml
# =========================
# Windows detritus
# =========================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac desktop service store files
.DS_Store
# SASS Compiler cache
.sass-cache
# Visual Studio 2014 CTP
**/*.sln.ide
*.dll
*.pdb
忽略列表中的最后一部分有助于忽略未跟踪更改中的DLL和PDB,但不包括在包含的更改和排除的更改中
# Visual Studio 2014 CTP
**/*.sln.ide
*.dll
*.pdb
将**/添加到dll目录中,因为这样会在任何文件夹(而不仅仅是根目录)中搜索它们: **/*.dll
**/*.pdb
使用“git rm file”(或“git rm-rf folder”删除当前文件以删除整个bin文件夹)。您是否已经签入了这些文件
.gitignore
仅适用于不在存储库中的新文件。@EdwardThomson Yea。我碰巧登记过一次。如何删除它?我试图在GIT Bash“GIT rm-rf OneProjectFolderName/bin”中运行它,但出现了致命错误:pathspec“OneProjectFolderName/bin”与任何已更新的gist文件都不匹配,无法忽略nuget包。