Skip to content
New issue

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

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

Already on GitHub? # to your account

[enhancement] 添加 .gitattributes 完善 GitHub 语言统计 #241

Closed
gaocegege opened this issue Jan 5, 2018 · 5 comments
Closed

[enhancement] 添加 .gitattributes 完善 GitHub 语言统计 #241

gaocegege opened this issue Jan 5, 2018 · 5 comments

Comments

@gaocegege
Copy link
Member

gaocegege commented Jan 5, 2018

现在在 GitHub 上显示这是一个 Perl 项目, 因为 https://github.com/sjtug/SJTUThesis/blob/master/texcount.pl 有 3800 行. 最好可以通过添加 .gitattributes 的方式让 https://github.com/github/linguist 统计的时候去掉 perl 代码.

screenshot from 2018-01-05 16-34-28

@AlexaraWu
Copy link
Collaborator

+1

另外 .gitignore 最好也更新一下,比如系统缓存文件 .DS_Store 什么的。

@AlexaraWu
Copy link
Collaborator

还有 Windows 脚本 complie.bat 最好用 CRLF,.gitattributes 里加一条 *.bat eol=crlf

@gaocegege
Copy link
Member Author

gaocegege commented Jan 5, 2018

@AlexaraWu OK 我最近比较忙, 不一定有时间开 PR, 如果你有时间可以 take 这个 issue :-) 我应该在 21 号之前不会发 PR

如果你没空的话之后我来解决

@gaocegege
Copy link
Member Author

Closed by #251

@gaocegege
Copy link
Member Author

My fault, it is in #252

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants