<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>分类：git - LT技术站</title><link>https://lautung.com/categories/git</link><atom:link href="https://lautung.com/categories/git/feed/categories/git.xml" rel="self" type="application/rss+xml"/><description>纸上得来终觉浅，绝知此事要躬行！</description><generator>Halo v2.27.2</generator><language>zh-cn</language><image><url>https://lautung.com/upload/ChatGPT%20Image%202026%E5%B9%B47%E6%9C%8810%E6%97%A5%2002_45_40(1).webp</url><title>分类：git - LT技术站</title><link>https://lautung.com/categories/git</link></image><lastBuildDate>Fri, 13 Nov 2026 01:02:10 GMT</lastBuildDate><item><title><![CDATA[使用 .gitattributes 修复 GitHub 仓库语言识别问题]]></title><link>https://lautung.com/archives/AOhZDYnn</link><description><![CDATA[<img src="https://lautung.com/plugins/feed/assets/telemetry.gif?title=%E4%BD%BF%E7%94%A8%20.gitattributes%20%E4%BF%AE%E5%A4%8D%20GitHub%20%E4%BB%93%E5%BA%93%E8%AF%AD%E8%A8%80%E8%AF%86%E5%88%AB%E9%97%AE%E9%A2%98&amp;url=/archives/AOhZDYnn" width="1" height="1" alt="" style="opacity:0;">最近在使用 Trellis 辅助开发项目时，我发现了一个挺有意思的问题：明明项目的主要业务代码不是 Python，但 GitHub 仓库列表里却显示这个仓库的主要语言是 Python。 一开始我还以为是 GitHub 识别错了，后来才发现，问题其实出在 GitHub 的语言统计规则上。 一、问题现象]]></description><guid isPermaLink="false">/archives/AOhZDYnn</guid><dc:creator>LTT</dc:creator><enclosure url="https://lautung.com/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2Fzhcover-019f2260-cdf4-7169-8503-b6e436dd8718.jpg&amp;size=m" type="image/jpeg" length="30479"/><category>git</category><pubDate>Thu, 2 Jul 2026 10:34:16 GMT</pubDate></item></channel></rss>