You*_*jae 37 windows git github github-for-windows atlassian-sourcetree
我想将NuGet.exe上传到github,但所有exe文件都没有列在我的本地存储库中.
我在NuGet.exe两个星期前在另一个项目仓库上传文件,但现在我根本无法上传任何exe文件.没有.gitignore我特别定义的全球性.
下面的代码是我的.gitignore文件.我错过了什么?
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
[Bb]in/
[Oo]bj/
# mstest test results
TestResults
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.log
*.vspscc
*.vssscc
.builds
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*
# 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
packages
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
[Bb]in
[Oo]bj
sql
TestResults
[Tt]est[Rr]esult*
*.Cache
ClientBin
[Ss]tyle[Cc]op.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects
# 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
# Windows-specific files
Thumbs.db
desktop.ini
# Mac-specific things (thanks to Michael Aaron Safyan)
.DS_Store
Run Code Online (Sandbox Code Playgroud)
- 编辑 -
.nuget/目录.config和文件下的相同文件.targets得到妥善处理.我可以检查git ls-files --others -i --exclude-standard给予NuGet.exe被忽略,但我不知道哪个规则成功.
Von*_*onC 65
首先,您可以通过以下方式检查文件是否在本地被忽略git check-ignore:
git check-ignore -v -- yourFile
Run Code Online (Sandbox Code Playgroud)
其次,您可以强制添加该文件(绕过任何忽略规则):
git add -f yourFile
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
19976 次 |
| 最近记录: |