Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I added third party codes in the Dependencies folder but the files are still in the statistics #4590

Closed
4 tasks done
ramondeallima opened this issue Jul 25, 2019 · 7 comments

Comments

@ramondeallima
Copy link

Preliminary Steps

Please confirm you have...

Problem Description

I performed the procedure of adding unwanted statistic files in the Dependencies folder, but still it is still considered.

I performed a test with the same project on a test repository to see if the files would be found but not found.

URL of the affected repository:

https://github.com/ramondeallima/projeto-biblioteca-games
Test: https://github.com/ramondeallima/projeto-biblioteca-games2

Last modified on:

2019-07-24

Expected language:

C#

Detected language:

JavaScript

@Alhadis
Copy link
Collaborator

Alhadis commented Jul 25, 2019

Did you read the section on implementing an override?

@ramondeallima
Copy link
Author

Yes, but I did not understand very well!

I am Brazilian and I depend on google translator to understand, it may be bothering me

@Alhadis
Copy link
Collaborator

Alhadis commented Jul 25, 2019

  1. Create a file named .gitattributes in the root of your project

  2. Add the following lines to the .gitattributes file:

    /BibliotecaGames.Entities/* linguist-vendored=true
    /BibliotecaGames.BLL/* linguist-vendored=true
  3. Modify a file in your project to force GitHub to detect the new .gitattributes file

Does that help?

@ramondeallima
Copy link
Author

I performed the procedure in the test repository but it didn't work.

https://github.com/ramondeallima/projeto-biblioteca-games2

@ramondeallima
Copy link
Author

BibliotecaGames.Site/Dependencies/* linguist-vendored

Would this work to ignore files inside the folder highlighted in the image?

image

@ramondeallima
Copy link
Author

Friend, this worked out:

BibliotecaGames.Site/Dependencies/* linguist-vendored

Thank you!

@Alhadis
Copy link
Collaborator

Alhadis commented Jul 25, 2019

You're welcome.

@Alhadis Alhadis closed this as completed Jul 25, 2019
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants