Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
9fdf746e
Commit
9fdf746e
authored
11 years ago
by
Fons Rademakers
Browse files
Options
Downloads
Patches
Plain Diff
add file type attributes file.
parent
96bbea4a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitattributes
+34
-0
34 additions, 0 deletions
.gitattributes
with
34 additions
and
0 deletions
.gitattributes
0 → 100644
+
34
−
0
View file @
9fdf746e
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.c text ident
*.C text ident
*.f text ident
*.F text ident
*.m text ident
*.mm text ident
*.cpp text ident
*.cc text ident
*.cxx text ident
*.h text ident
*.hh text ident
*.inc text ident
*.txt text ident
*.sh text ident
*.py text ident
*.pl text ident
*.mk text ident
Make.* text ident
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.dsp text eol=crlf
*.dsw text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.pdf binary
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment