有人知道用git
和建立新项目的好文章ASP.NET MVC
吗?
只是想知道包含什么ignore
以及如何处理部署.
您询问了要忽略的内容 - 这是ASP.NET MVC项目的默认.gitignore:
################### # compiled source # ################### *.com *.class *.dll *.exe *.pdb *.dll.config *.cache *.suo # Include dlls if they’re in the NuGet packages directory !/packages/*/lib/*.dll !/packages/*/lib/*/*.dll # Include dlls if they're in the CommonReferences directory !*CommonReferences/*.dll #################### # VS Upgrade stuff # #################### UpgradeLog.XML _UpgradeReport_Files/ ############### # Directories # ############### bin/ obj/ TestResults/ ################### # Web publish log # ################### *.Publish.xml ############# # Resharper # ############# /_ReSharper.* *.ReSharper.* ############ # Packages # ############ # it’s better to unpack these files and commit the raw source # git has its own built in compression methods *.7z *.dmg *.gz *.iso *.jar *.rar *.tar *.zip ###################### # Logs and databases # ###################### *.log *.sqlite # OS generated files # ###################### .DS_Store? ehthumbs.db Icon? Thumbs.db
有关设置新项目的帮助,我会安装msysgit,因为你最有可能在Windows上并查看learn.github以了解如何开始使用git.当然,大师(Skeet)建议你从控制台做大部分事 - 我倾向于同意他的看法.GIT就这么简单恕我直言.如果您想要一个方便的git引用,请查看git参考.
正如其他人已经提到的那样 - 请查看AppHarbor的部署情况.那些家伙的目标是成为"ASP.NET的Heroku".