{"id":5350,"date":"2020-12-19T18:19:39","date_gmt":"2020-12-19T16:19:39","guid":{"rendered":"https:\/\/five-rp.de.www298.your-server.de\/tutorial-verwenden-von-git-lfs-mit-fivem-ressourcen-server-tutorials\/"},"modified":"2025-06-16T10:48:37","modified_gmt":"2025-06-16T08:48:37","slug":"tutorial-verwenden-von-git-lfs-mit-fivem-ressourcen-server-tutorials","status":"publish","type":"post","link":"https:\/\/five-rp.de\/en\/tutorial-verwenden-von-git-lfs-mit-fivem-ressourcen-server-tutorials\/","title":{"rendered":"[Tutorial] Verwenden von Git LFS mit FiveM-Ressourcen &#8211; Server-Tutorials"},"content":{"rendered":"<p>[ad_1]<\/p>\n<div itemprop=\"articleBody\">\n<p>Dies ist ein kurzes Tutorial, wie Sie die Leistung von richtig nutzen k\u00f6nnen <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/git-lfs.com\/\">Git LFS<\/a> Wenn Sie ein Git-Repository mit FiveM-Serverressourcen haben.  Wenn Sie Git verwenden, aber nicht LFS (Huch), fordere ich Sie auf, es auszuprobieren.<\/p>\n<hr\/>\n<p>Stellen Sie zun\u00e4chst sicher, dass Ihr Arbeitsverzeichnis frei ist, damit Sie nicht versehentlich etwas festschreiben, was Sie nicht beabsichtigen.<\/p>\n<p>Als n\u00e4chstes m\u00fcssen Sie diese Einstellungen \u00e4ndern \/ an die anh\u00e4ngen <code>.gitattributes<\/code> Datei in Ihrem Projektstamm.<br \/>Wenn Sie diese Datei noch nicht haben, erstellen Sie sie mit folgendem Inhalt:<\/p>\n<p><strong>.gitattributes<\/strong><\/p>\n<pre><code class=\"lang-auto\"># FiveM assets\n*.yft filter=lfs diff=lfs merge=lfs -text\n*.ytd filter=lfs diff=lfs merge=lfs -text\n*.ymap filter=lfs diff=lfs merge=lfs -text\n*.ydr filter=lfs diff=lfs merge=lfs -text\n*.ybn filter=lfs diff=lfs merge=lfs -text\n*.ymf filter=lfs diff=lfs merge=lfs -text\n*.ydd filter=lfs diff=lfs merge=lfs -text\n*.ytyp filter=lfs diff=lfs merge=lfs -text\n*.rpf filter=lfs diff=lfs merge=lfs -text\n\n# native binaries\n*.dll filter=lfs diff=lfs merge=lfs -text\n*.so filter=lfs diff=lfs merge=lfs -text\n\n# fonts\n*.eot filter=lfs diff=lfs merge=lfs -text\n*.ttf filter=lfs diff=lfs merge=lfs -text\n*.woff filter=lfs diff=lfs merge=lfs -text\n*.woff2 filter=lfs diff=lfs merge=lfs -text\n<\/code><\/pre>\n<p>An diesem Punkt m\u00fcssen Sie lediglich Folgendes tun:<\/p>\n<pre><code class=\"lang-auto\">git add .\n<\/code><\/pre>\n<p>Git indiziert Ihre Dateien automatisch, findet passende Erweiterungen und markiert sie als ge\u00e4ndert, damit sie mit LFS in Ihr Git-Repo \u00fcbernommen werden k\u00f6nnen.  Der erste Push kann lange dauern, wenn Sie \u00fcber viele Ressourcen verf\u00fcgen.<\/p>\n<p>Das ist es Leute.<\/p>\n<\/p><\/div>\n<p>[ad_2]<br \/>\n<br \/><a href=\"https:\/\/forum.cfx.re\/t\/tutorial-using-git-lfs-with-fivem-resources\/1408019\" target=\"_blank\" rel=\"noopener\">Originalquelle<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Dies ist ein kurzes Tutorial, wie Sie die Leistung von richtig nutzen k\u00f6nnen Git LFS Wenn Sie ein Git-Repository [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5351,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ai_generated_summary":"","footnotes":""},"categories":[86],"tags":[89,88,87,104,101,102,103,93,98,99,100],"class_list":["post-5350","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-entwicklung","tag-create-fivem-server","tag-fivem-server","tag-fivem-tutorial","tag-fivemressourcen","tag-git","tag-lfs","tag-mit","tag-servertutorials","tag-tutorial","tag-verwenden","tag-von"],"_links":{"self":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts\/5350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/comments?post=5350"}],"version-history":[{"count":1,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts\/5350\/revisions"}],"predecessor-version":[{"id":97922,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts\/5350\/revisions\/97922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/media\/5351"}],"wp:attachment":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/media?parent=5350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/categories?post=5350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/tags?post=5350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}