前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >GitHub实战系列~3.提交github的时候过滤某些文件 2015-12-10

GitHub实战系列~3.提交github的时候过滤某些文件 2015-12-10

作者头像
逸鹏
发布2018-04-09 16:17:35
1K0
发布2018-04-09 16:17:35
举报
文章被收录于专栏:逸鹏说道逸鹏说道

创建项目的时候在最下面,添加过滤器,选择vs 或者把 .gitignore 拷贝一份放git项目文件夹的根目录

建完就有两个文件了,.gitignore 是过滤文件

vs的过滤规则贴一下:

## Ignore Visual Studio temporary files, build results, and

## files generated by popular Visual Studio add-ons.

# User-specific files

*.suo

*.user

*.userosscache

*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)

*.userprefs

# Build results

[Dd]ebug/

[Dd]ebugPublic/

[Rr]elease/

[Rr]eleases/

x64/

x86/

build/

bld/

[Bb]in/

[Oo]bj/

# Visual Studo 2015 cache/options directory

.vs/

# MSTest test Results

[Tt]est[Rr]esult*/

[Bb]uild[Ll]og.*

# NUNIT

*.VisualState.xml

TestResult.xml

# Build Results of an ATL Project

[Dd]ebugPS/

[Rr]eleasePS/

dlldata.c

*_i.c

*_p.c

*_i.h

*.ilk

*.meta

*.obj

*.pch

*.pdb

*.pgc

*.pgd

*.rsp

*.sbr

*.tlb

*.tli

*.tlh

*.tmp

*.tmp_proj

*.log

*.vspscc

*.vssscc

.builds

*.pidb

*.svclog

*.scc

# Chutzpah Test files

_Chutzpah*

# Visual C++ cache files

ipch/

*.aps

*.ncb

*.opensdf

*.sdf

*.cachefile

# Visual Studio profiler

*.psess

*.vsp

*.vspx

# TFS 2012 Local Workspace

$tf/

# Guidance Automation Toolkit

*.gpState

# ReSharper is a .NET coding add-in

_ReSharper*/

*.[Rr]e[Ss]harper

*.DotSettings.user

# JustCode is a .NET coding addin-in

.JustCode

# TeamCity is a build add-in

_TeamCity*

# DotCover is a Code Coverage Tool

*.dotCover

# NCrunch

_NCrunch_*

.*crunch*.local.xml

# MightyMoose

*.mm.*

AutoTest.Net/

# Web workbench (sass)

.sass-cache/

# 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

*.[Pp]ublish.xml

*.azurePubxml

# TODO: Comment the next line if you want to checkin your web deploy settings

# but database connection strings (with potential passwords) will be unencrypted

*.pubxml

*.publishproj

# NuGet Packages

*.nupkg

# The packages folder can be ignored because of Package Restore

**/packages/*

# except build/, which is used as an MSBuild target.

!**/packages/build/

# Uncomment if necessary however generally it will be regenerated when needed

#!**/packages/repositories.config

# Windows Azure Build Output

csx/

*.build.csdef

# Windows Store app package directory

AppPackages/

# Others

*.[Cc]ache

ClientBin/

[Ss]tyle[Cc]op.*

~$*

*~

*.dbmdl

*.dbproj.schemaview

*.pfx

*.publishsettings

node_modules/

bower_components/

# 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

# SQL Server files

*.mdf

*.ldf

# Business Intelligence projects

*.rdl.data

*.bim.layout

*.bim_*.settings

# Microsoft Fakes

FakesAssemblies/

# Node.js Tools for Visual Studio

.ntvs_analysis.dat

# Visual Studio 6 build log

*.plg

# Visual Studio 6 workspace options file

*.opt

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2015-12-11,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 我为Net狂 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 SQL Server
腾讯云数据库 SQL Server (TencentDB for SQL Server)是业界最常用的商用数据库之一,对基于 Windows 架构的应用程序具有完美的支持。TencentDB for SQL Server 拥有微软正版授权,可持续为用户提供最新的功能,避免未授权使用软件的风险。具有即开即用、稳定可靠、安全运行、弹性扩缩等特点。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档