{"id":17334,"date":"2024-05-07T23:40:18","date_gmt":"2024-05-07T20:10:18","guid":{"rendered":"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/"},"modified":"2024-05-07T23:40:18","modified_gmt":"2024-05-07T20:10:18","slug":"%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88","status":"publish","type":"post","link":"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/","title":{"rendered":"\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc Git &#8211; \u0628\u0627 \u0645\u062b\u0627\u0644 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0633\u0631\u0641\u0635\u0644\u0647\u0627\u06cc \u0645\u0637\u0644\u0628<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%d9%be%db%8c%d8%b4_%d9%86%db%8c%d8%a7%d8%b2%d9%87%d8%a7\" >\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%d8%b3%d8%a7%d8%a8_%d9%85%d8%a7%da%98%d9%88%d9%84_%d9%87%d8%a7%db%8c_git_%da%86%db%8c%d8%b3%d8%aa%d8%9f\" >\u0633\u0627\u0628 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc Git \u0686\u06cc\u0633\u062a\u061f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%d8%aa%d9%81%d8%a7%d9%88%d8%aa_%d8%a8%db%8c%d9%86_repository_%d9%88_submodule\" >\u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 Repository \u0648 Submodule<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%da%86%da%af%d9%88%d9%86%d9%87_%db%8c%da%a9_%d8%b2%db%8c%d8%b1_%d9%85%d8%a7%da%98%d9%88%d9%84_git_%d8%a7%d8%b6%d8%a7%d9%81%d9%87_%da%a9%d9%86%db%8c%d9%85\" >\u0686\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 Git \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%d9%81%d8%a7%db%8c%d9%84_gitmodules\" >\u0641\u0627\u06cc\u0644 gitmodules<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%da%86%da%af%d9%88%d9%86%d9%87_%db%8c%da%a9_%d8%b2%db%8c%d8%b1_%d9%85%d8%a7%da%98%d9%88%d9%84_%d8%a7%d8%b6%d8%a7%d9%81%d9%87_%d9%86%da%a9%d9%86%db%8c%d9%85\" >\u0686\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0627\u0636\u0627\u0641\u0647 \u0646\u06a9\u0646\u06cc\u0645<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%da%86%da%af%d9%88%d9%86%d9%87_%db%8c%da%a9_%d9%85%d8%ae%d8%b2%d9%86_%d8%b1%d8%a7_%d8%a8%d8%a7_%db%8c%da%a9_%d8%b2%db%8c%d8%b1_%d9%85%d8%a7%da%98%d9%88%d9%84_git_%da%a9%d9%84%d9%88%d9%86_%da%a9%d9%86%db%8c%d9%85\" >\u0686\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0631\u0627 \u0628\u0627 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 Git \u06a9\u0644\u0648\u0646 \u06a9\u0646\u06cc\u0645<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%b2%db%8c%d8%b1-%d9%85%d8%a7%da%98%d9%88%d9%84-%d9%87%d8%a7%db%8c-git-%d8%a8%d8%a7-%d9%85%d8%ab%d8%a7%d9%84-%d8%aa%d9%88\/#%d9%86%d8%aa%db%8c%d8%ac%d9%87\" >\u0646\u062a\u06cc\u062c\u0647<\/a><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span><p> <br \/>\n<\/p>\n<section class=\"post-content \" data-test-label=\"post-content\">\n<p>Git \u0628\u062f\u0648\u0646 \u0634\u06a9 \u06cc\u06a9 \u0627\u0628\u0632\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0633\u062a\u060c \u0632\u06cc\u0631\u0627 \u0628\u0647 \u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u0628\u0647 \u0637\u0648\u0631 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0628\u0627 \u0647\u0645 \u0647\u0645\u06a9\u0627\u0631\u06cc \u06a9\u0646\u06cc\u0645\u060c \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u0645\u0648\u062b\u0631 \u067e\u06cc\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u06cc\u06a9\u067e\u0627\u0631\u0686\u06af\u06cc \u067e\u0631\u0648\u0698\u0647 \u0631\u0627 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u0647\u0627\u06cc \u062a\u0648\u0632\u06cc\u0639 \u0634\u062f\u0647 \u062d\u0641\u0638 \u06a9\u0646\u06cc\u0645.<\/p>\n<p>\u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0628\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u067e\u06cc\u0686\u06cc\u062f\u06af\u06cc \u0648 \u062f\u0627\u0645\u0646\u0647 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627\u060c \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0622\u0646\u0647\u0627 \u0646\u06cc\u0632 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc \u06cc\u0627\u0628\u062f.  \u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644\u060c \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0645\u06a9\u0627\u0646\u06cc\u0632\u0645\u06cc \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0635\u062d\u06cc\u062d \u0627\u06cc\u0646 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0647\u0627 \u062f\u0631 \u062d\u06cc\u0646 \u0631\u0634\u062f \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.  \u0627\u06cc\u0646 \u0645\u06a9\u0627\u0646\u06cc\u0633\u0645 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc Git \u0634\u0646\u0627\u062e\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0645\u0627 \u0628\u0647 \u062f\u0646\u06cc\u0627\u06cc \u0632\u06cc\u0631\u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc Git \u0645\u06cc\u200c\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u062a\u0627 \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631\u06cc \u0627\u0632 \u0631\u0648\u0634 \u0639\u0645\u0644\u06a9\u0631\u062f \u0622\u0646\u200c\u0647\u0627 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645.<\/p>\n<h2 id=\"prerequisites\"><span class=\"ez-toc-section\" id=\"%d9%be%db%8c%d8%b4_%d9%86%db%8c%d8%a7%d8%b2%d9%87%d8%a7\"><\/span>\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>\u062f\u0631\u06a9 \u0627\u0648\u0644\u06cc\u0647 \u0627\u0632 Git \u0648 GitHub.<\/li>\n<li>Git \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<\/ul>\n<h2 id=\"what-are-git-submodules\"><span class=\"ez-toc-section\" id=\"%d8%b3%d8%a7%d8%a8_%d9%85%d8%a7%da%98%d9%88%d9%84_%d9%87%d8%a7%db%8c_git_%da%86%db%8c%d8%b3%d8%aa%d8%9f\"><\/span>\u0633\u0627\u0628 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc Git \u0686\u06cc\u0633\u062a\u061f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 Git \u0628\u0647 \u06cc\u06a9 \u0645\u062e\u0632\u0646 Git \u0627\u0634\u0627\u0631\u0647 \u062f\u0627\u0631\u062f \u06a9\u0647 \u062f\u0631 \u06cc\u06a9 \u0645\u062e\u0632\u0646 Git \u062f\u06cc\u06af\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.<\/p>\n<p>\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0641\u0631\u0632\u0646\u062f \u06cc\u0627 \u0632\u06cc\u0631 \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc \u0627\u0632 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f.<\/p>\n<p>\u0632\u06cc\u0631\u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc Git \u0631\u0648\u0634\u06cc \u0633\u0627\u062e\u062a\u0627\u0631\u06cc\u0627\u0641\u062a\u0647 \u0628\u0631\u0627\u06cc \u06af\u0646\u062c\u0627\u0646\u062f\u0646 \u0645\u062e\u0627\u0632\u0646 \u062e\u0627\u0631\u062c\u06cc \u062f\u0631 \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u0648 \u062f\u0631 \u0639\u06cc\u0646 \u062d\u0627\u0644 \u0645\u0632\u0627\u06cc\u0627\u06cc \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0631\u0627 \u062d\u0641\u0638 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/p>\n<h2 id=\"difference-between-a-repository-and-a-submodule\"><span class=\"ez-toc-section\" id=\"%d8%aa%d9%81%d8%a7%d9%88%d8%aa_%d8%a8%db%8c%d9%86_repository_%d9%88_submodule\"><\/span>\u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 Repository \u0648 Submodule<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0646\u06cc\u0632 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0627\u0633\u062a.  \u062a\u0646\u0647\u0627 \u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0648 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u062f\u0631 \u0627\u06cc\u0646 \u0648\u0627\u0642\u0639\u06cc\u062a \u0627\u0633\u062a \u06a9\u0647 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0641\u0642\u0637 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0645\u062e\u0632\u0646 Git \u062f\u0631 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u062f\u06cc\u06af\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f.  \u0627\u06af\u0631 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u062e\u0627\u0631\u062c \u0627\u0632 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u062f\u06cc\u06af\u0631 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646 \u0622\u0646 \u0631\u0627 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0646\u0627\u0645\u06cc\u062f.  \u0641\u0642\u0637 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0647 \u0622\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f.<\/p>\n<p>\u0647\u0645\u0647 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u0645\u062e\u0632\u0646 \u0647\u0633\u062a\u0646\u062f \u0627\u0645\u0627 \u0647\u0645\u0647 \u0645\u062e\u0627\u0632\u0646 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0646\u06cc\u0633\u062a\u0646\u062f.<\/p>\n<h2 id=\"how-to-add-a-git-submodule\"><span class=\"ez-toc-section\" id=\"%da%86%da%af%d9%88%d9%86%d9%87_%db%8c%da%a9_%d8%b2%db%8c%d8%b1_%d9%85%d8%a7%da%98%d9%88%d9%84_git_%d8%a7%d8%b6%d8%a7%d9%81%d9%87_%da%a9%d9%86%db%8c%d9%85\"><\/span>\u0686\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 Git \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u0632\u06cc\u0631\u0645\u0627\u0698\u0648\u0644 Git\u060c \u0627\u0628\u062a\u062f\u0627 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u06cc\u06a9 \u0645\u062e\u0632\u0646 Git \u0647\u0633\u062a\u06cc\u062f \u0648 URL \u0645\u062e\u0632\u0646 \u0631\u0627\u0647 \u062f\u0648\u0631\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f\u060c \u062f\u0627\u0631\u06cc\u062f.<\/p>\n<p>\u0633\u067e\u0633\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <code>git submodule add<\/code> \u062f\u0633\u062a\u0648\u0631\u060c \u0648 \u0633\u067e\u0633 URL \u0645\u062e\u0632\u0646\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre><code class=\"language-console\">git submodule add &lt;submodule_url&gt;\n<\/code><\/pre>\n<p>\u062f\u0633\u062a\u0648\u0631 \u0628\u0627\u0644\u0627 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u062f\u0631 \u0642\u0633\u0645\u062a \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u06a9\u0646\u062f root \u0633\u0637\u062d \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc \u0634\u0645\u0627 \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u062a\u0639\u06cc\u06cc\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc \u0634\u0645\u0627 \u0642\u0631\u0627\u0631 \u06af\u06cc\u0631\u062f\u060c \u0622\u0631\u06af\u0648\u0645\u0627\u0646 path \u0631\u0627 \u0628\u0647 \u062f\u0633\u062a\u0648\u0631 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre><code class=\"language-console\">git submodule add &lt;submodule_url&gt; &lt;path&gt;\n<\/code><\/pre>\n<p>\u062c\u0627\u06cc\u06cc \u06a9\u0647:<\/p>\n<ul>\n<li><code>&lt;submodule_url&gt;<\/code>  URL \u0645\u062e\u0632\u0646 Git \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/li>\n<li><code>&lt;path&gt;<\/code>  \u0645\u0633\u06cc\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u0645\u062e\u0632\u0646 \u0634\u0645\u0627 \u0627\u0636\u0627\u0641\u0647 \u0634\u0648\u062f.<\/li>\n<\/ul>\n<h2 id=\"the-gitmodules-file\"><span class=\"ez-toc-section\" id=\"%d9%81%d8%a7%db%8c%d9%84_gitmodules\"><\/span>\u0641\u0627\u06cc\u0644 gitmodules<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u067e\u0633 \u0627\u0632 \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u062c\u062f\u06cc\u062f git \u0628\u0627 <code>git submodule add<\/code> \u062f\u0633\u062a\u0648\u0631\u060c \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0622\u0646 \u0627\u0636\u0627\u0641\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f root \u0633\u0637\u062d \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc \u0634\u0645\u0627  \u0622\u0646 \u0641\u0627\u06cc\u0644 \u0627\u0633\u062a <strong>gitmodules<\/strong> \u0641\u0627\u06cc\u0644.<\/p>\n<p><strong>gitmodules<\/strong> \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0633\u0637 Git \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.  \u0627\u06cc\u0646 \u0634\u0627\u0645\u0644 \u062c\u0632\u0626\u06cc\u0627\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0647\u0631 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644\u060c \u0645\u0627\u0646\u0646\u062f URL \u0647\u0627 \u0648 \u0645\u0633\u06cc\u0631\u0647\u0627\u06cc \u0622\u0646\u0647\u0627 \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u0634\u0648\u062f \u06a9\u0647 \u0648\u0642\u062a\u06cc \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0631\u0627 \u0628\u0627 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u06a9\u0644\u0648\u0646 \u06cc\u0627 \u0628\u0647 \u0631\u0648\u0632 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c Git \u0645\u06cc \u062f\u0627\u0646\u062f \u06a9\u0647 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0627\u0632 \u06a9\u062c\u0627 \u0648\u0627\u06a9\u0634\u06cc \u06a9\u0646\u062f \u0648 \u0627\u0632 \u0686\u0647 \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc\u06cc \u0627\u0632 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u06a9 \u0645\u062b\u0627\u0644 \u0627\u0632 \u0622\u0646\u0686\u0647 \u06a9\u0647 <strong>gitmodules<\/strong> \u0641\u0627\u06cc\u0644 \u0628\u0647 \u0646\u0638\u0631 \u0645\u06cc \u0631\u0633\u062f:<\/p>\n<pre><code class=\"language-console\">[submodule \"example\"]\n    path = example\n    url = https:\/\/github.com\/example\/example.git\n<\/code><\/pre>\n<p>\u0627\u06af\u0631 \u0628\u06cc\u0634 \u0627\u0632 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u067e\u0631\u0648\u0698\u0647 \u062e\u0648\u062f \u062f\u0627\u0631\u06cc\u062f\u060c \u0627\u06cc\u0646 \u0647\u0645\u0627\u0646 \u0686\u06cc\u0632\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0634\u0645\u0627 \u062f\u0627\u0631\u06cc\u062f <strong>gitmodules<\/strong> \u0641\u0627\u06cc\u0644 \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f:<\/p>\n<pre><code class=\"language-console\">[submodule \"submodule1\"]\n    path = submodule1\n    url = https:\/\/github.com\/example\/submodule1.git\n\n[submodule \"submodule2\"]\n    path = submodule2\n    url = https:\/\/github.com\/example\/submodule2.git\n\n[submodule \"submodule3\"]\n    path = submodule3\n    url = https:\/\/github.com\/example\/submodule3.git\n<\/code><\/pre>\n<h2 id=\"how-not-to-add-a-submodule\"><span class=\"ez-toc-section\" id=\"%da%86%da%af%d9%88%d9%86%d9%87_%db%8c%da%a9_%d8%b2%db%8c%d8%b1_%d9%85%d8%a7%da%98%d9%88%d9%84_%d8%a7%d8%b6%d8%a7%d9%81%d9%87_%d9%86%da%a9%d9%86%db%8c%d9%85\"><\/span>\u0686\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0627\u0636\u0627\u0641\u0647 \u0646\u06a9\u0646\u06cc\u0645<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u06af\u0627\u0647\u06cc \u0627\u0648\u0642\u0627\u062a \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0648\u0633\u0648\u0633\u0647 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <code>git clone<\/code> \u062f\u0633\u062a\u0648\u0631 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u062f\u0631 \u0645\u062e\u0632\u0646 \u0634\u0645\u0627.  \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u0622\u0646 \u0648\u0633\u0648\u0633\u0647 \u0645\u0642\u0627\u0648\u0645\u062a \u06a9\u0646\u06cc\u062f!<\/p>\n<p>\u0627\u06af\u0631 \u0627\u0632 <code>git clone<\/code> \u062f\u0633\u062a\u0648\u0631\u060c \u067e\u06cc\u0627\u0645 \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u0631\u0648\u06cc Git Bash \u0634\u0645\u0627 terminal: &#8220;\u0634\u0645\u0627 \u06cc\u06a9 \u0645\u062e\u0632\u0646 git \u062f\u06cc\u06af\u0631 \u062f\u0631 \u0645\u062e\u0632\u0646 \u0641\u0639\u0644\u06cc \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f. \u06a9\u0644\u0648\u0646 \u0647\u0627\u06cc \u0645\u062e\u0632\u0646 \u062e\u0627\u0631\u062c\u06cc \u062d\u0627\u0648\u06cc \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0645\u062e\u0632\u0646 \u062a\u0639\u0628\u06cc\u0647 \u0634\u062f\u0647 \u0646\u06cc\u0633\u062a\u0646\u062f \u0648 \u0646\u0645\u06cc \u062f\u0627\u0646\u0646\u062f \u0686\u06af\u0648\u0646\u0647 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u062f\u0633\u062a \u0622\u0648\u0631\u0646\u062f&#8230;&#8221;<\/p>\n<figure class=\"kg-card kg-image-card kg-width-wide kg-card-hascaption\"><img decoding=\"async\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/05\/git_hint.PNG\" class=\"kg-image\" alt=\"git_hint\" width=\"520\" height=\"186\" loading=\"lazy\" title=\"\"><figcaption>\u062f\u0633\u062a\u0648\u0631 git clone \u0647\u0646\u06af\u0627\u0645 \u062a\u0644\u0627\u0634 \u0628\u0631\u0627\u06cc \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644<\/figcaption><\/figure>\n<p>\u0627\u06cc\u0646 \u067e\u06cc\u0627\u0645 \u0631\u0627 \u062f\u0631 \u062d\u0627\u0644\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0631\u062f\u0645 \u06a9\u0647 \u0633\u0639\u06cc \u0645\u06cc \u06a9\u0631\u062f\u0645 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0628\u0647 \u0622\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u0645 <code>theme\/anake<\/code> \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <code>git clone<\/code> \u0641\u0631\u0645\u0627\u0646<\/p>\n<p>\u0628\u0647 \u0637\u0648\u0631 \u0639\u0645\u062f\u0647 \u062f\u0648 \u062f\u0644\u06cc\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0686\u0631\u0627 \u0646\u0628\u0627\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<ol>\n<li>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u06a9\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 \u0645\u062e\u0632\u0646 \u0631\u0627\u0647 \u062f\u0648\u0631 \u062e\u0648\u062f \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f\u060c \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0632\u06cc\u0631\u0645\u0627\u0698\u0648\u0644 \u062e\u0627\u0644\u06cc \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f.<\/li>\n<li>\u06a9\u0644\u0648\u0646 \u0647\u0627\u06cc \u0645\u062e\u0632\u0646 \u062e\u0627\u0631\u062c\u06cc (\u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc) \u062d\u0627\u0648\u06cc \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0645\u062e\u0632\u0646 \u062a\u0639\u0628\u06cc\u0647 \u0634\u062f\u0647 (\u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644) \u0646\u06cc\u0633\u062a\u0646\u062f \u0648 \u0646\u0645\u06cc \u062f\u0627\u0646\u0646\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0622\u0646 \u0631\u0627 \u0628\u062f\u0633\u062a \u0622\u0648\u0631\u0646\u062f\u060c \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062a\u0648\u0633\u0637 Git \u062f\u0631 \u067e\u06cc\u0627\u0645 \u0628\u0627\u0644\u0627 \u0628\u06cc\u0627\u0646 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<\/ol>\n<p>\u0648 \u062f\u0644\u0627\u06cc\u0644 \u0641\u0648\u0642 \u0645\u0633\u0627\u0626\u0644\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0627\u0632 \u0646\u062f\u0627\u0634\u062a\u0646 \u0622\u0646 \u0646\u0627\u0634\u06cc \u0645\u06cc \u0634\u0648\u0646\u062f <strong>gitmodules<\/strong> \u0641\u0627\u06cc\u0644 (\u06a9\u0647 \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u0634\u0648\u062f <code>git submodule add<\/code> \u0641\u0631\u0645\u0627\u0646) \u062f\u0631 root \u0633\u0637\u062d \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc \u0634\u0645\u0627<\/p>\n<p>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u062f\u0633\u062a\u06cc <strong>gitmodules<\/strong> \u0641\u0627\u06cc\u0644 \u062f\u0631 root \u0633\u0637\u062d \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc \u0634\u0645\u0627 \u0645\u0634\u06a9\u0644\u0627\u062a \u0641\u0648\u0642 \u0631\u0627 \u0628\u0631\u0637\u0631\u0641 \u0645\u06cc \u06a9\u0646\u062f.  \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <code>git submodule add<\/code> \u0641\u0631\u0645\u0627\u0646 \u0627\u0632 \u0622\u0646\u0647\u0627 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<h2 id=\"how-to-clone-a-repository-with-a-git-submodule\"><span class=\"ez-toc-section\" id=\"%da%86%da%af%d9%88%d9%86%d9%87_%db%8c%da%a9_%d9%85%d8%ae%d8%b2%d9%86_%d8%b1%d8%a7_%d8%a8%d8%a7_%db%8c%da%a9_%d8%b2%db%8c%d8%b1_%d9%85%d8%a7%da%98%d9%88%d9%84_git_%da%a9%d9%84%d9%88%d9%86_%da%a9%d9%86%db%8c%d9%85\"><\/span>\u0686\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u0631\u0627 \u0628\u0627 \u06cc\u06a9 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 Git \u06a9\u0644\u0648\u0646 \u06a9\u0646\u06cc\u0645<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u062f\u0648 \u062f\u0633\u062a\u0648\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0647\u0631 \u0632\u0645\u0627\u0646 \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0645\u062e\u0627\u0632\u0646 \u0628\u0627 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u0631\u0627 \u06a9\u0644\u0648\u0646 \u06a9\u0646\u06cc\u062f \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062e\u0627\u0637\u0631 \u0628\u0633\u067e\u0627\u0631\u06cc\u062f.  \u0622\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632:<\/p>\n<p><code>git submodule init<\/code>: \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0631 \u0645\u062e\u0632\u0646 \u0631\u0627 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0645\u06cc \u06a9\u0646\u062f.  \u0648\u0642\u062a\u06cc \u06cc\u06a9 \u0645\u062e\u0632\u0646 \u062d\u0627\u0648\u06cc \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u0631\u0627 \u06a9\u0644\u0648\u0646 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c Git \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u0648\u0627\u06a9\u0634\u06cc \u0646\u0645\u06cc \u06a9\u0646\u062f.  \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0628\u062f\u0648\u06cc\u062f <code>git submodule init<\/code> \u0627\u0628\u062a\u062f\u0627 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0627\u0648\u0644\u06cc\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>Git \u0631\u0627 \u0645\u06cc \u062e\u0648\u0627\u0646\u062f <strong>gitmodules<\/strong> \u0641\u0627\u06cc\u0644 \u062f\u0631 \u0645\u062e\u0632\u0646 \u0628\u0631\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u0648 \u0622\u0645\u0627\u062f\u0647 \u0634\u062f\u0646 \u0628\u0631\u0627\u06cc \u0648\u0627\u06a9\u0634\u06cc \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u062f\u0631 \u0647\u0646\u06af\u0627\u0645 \u0627\u062c\u0631\u0627 <code>git submodule update<\/code>.<\/p>\n<p><code>git submodule update<\/code>: \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0622\u062e\u0631\u06cc\u0646 commit \u0647\u0627 \u0631\u0627 \u0627\u0632 \u0645\u062e\u0627\u0632\u0646 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0648\u0627\u06a9\u0634\u06cc \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0627\u06af\u0631 commit \u0647\u0627\u06cc \u062c\u062f\u06cc\u062f\u06cc \u062f\u0631 \u0645\u062e\u0627\u0632\u0646 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0644\u0627\u0632\u0645 \u0628\u0627\u0634\u062f \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f <code>git submodule update<\/code> \u0628\u0631\u0627\u06cc \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0648\u0636\u0639\u06cc\u062a.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632\u06cc \u0645\u062e\u0627\u0632\u0646 \u062f\u0627\u0631\u0627\u06cc \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u060c \u0627\u0648\u0644\u06cc\u0646 \u06a9\u0627\u0631\u06cc \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u0627\u0633\u062a <code>git clone<\/code> \u062f\u0633\u062a\u0648\u0631 \u0628\u0631\u0627\u06cc \u0622\u0646 \u0645\u062e\u0632\u0646.<\/p>\n<pre><code class=\"language-console\">git clone &lt;repository_URL&gt;\n<\/code><\/pre>\n<p>\u067e\u0633 \u0627\u0632 \u0622\u0646\u060c \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f <code>git submodule init<\/code> \u0641\u0631\u0645\u0627\u0646 \u062f\u0631 root \u0633\u0637\u062d \u0645\u062e\u0632\u0646 \u0627\u0635\u0644\u06cc<\/p>\n<pre><code class=\"language-console\">git submodule init\n<\/code><\/pre>\n<p>\u0633\u067e\u0633\u060c \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a\u060c \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f <code>git submodule update<\/code> \u0641\u0631\u0645\u0627\u0646<\/p>\n<pre><code class=\"language-console\">git submodule update\n<\/code><\/pre>\n<h2 id=\"conclusion\"><span class=\"ez-toc-section\" id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\"><\/span>\u0646\u062a\u06cc\u062c\u0647<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0632\u06cc\u0631\u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc Git \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u06a9\u0627\u0646\u06cc\u0632\u0645\u06cc \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u0648\u062b\u0631 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0647\u0627 \u062f\u0631 \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u0639\u0645\u0644 \u0645\u06cc \u06a9\u0646\u0646\u062f.  \u0622\u0646\u0647\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0627\u062f\u063a\u0627\u0645 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0645\u062e\u0627\u0632\u0646 \u062e\u0627\u0631\u062c\u06cc \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647 \u0627\u0635\u0644\u06cc\u060c \u062d\u0641\u0638 \u0645\u0631\u0632\u0647\u0627\u06cc \u0648\u0627\u0636\u062d \u0628\u06cc\u0646 \u0627\u062c\u0632\u0627 \u0648 \u062f\u0631 \u0639\u06cc\u0646 \u062d\u0627\u0644 \u062a\u0633\u0647\u06cc\u0644 \u0647\u0645\u06a9\u0627\u0631\u06cc \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u06a9\u0646\u0646\u062f.<\/p>\n<p>\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u060c \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u062c\u0631\u06cc\u0627\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0633\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06a9\u0646\u0646\u062f\u060c \u06cc\u06a9\u067e\u0627\u0631\u0686\u06af\u06cc \u067e\u0631\u0648\u0698\u0647 \u0631\u0627 \u062d\u0641\u0638 \u06a9\u0646\u0646\u062f \u0648 \u0647\u0645\u06a9\u0627\u0631\u06cc \u06a9\u0627\u0631\u0622\u0645\u062f \u0631\u0627 \u062a\u0633\u0647\u06cc\u0644 \u06a9\u0646\u0646\u062f\u060c \u0648 \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u0628\u0647 \u0641\u0631\u0622\u06cc\u0646\u062f\u0647\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0642\u0648\u06cc\u200c\u062a\u0631 \u0648 \u0645\u0642\u06cc\u0627\u0633\u200c\u067e\u0630\u06cc\u0631 \u06a9\u0645\u06a9 \u06a9\u0646\u0646\u062f.<\/p>\n<\/section>\n<p><br \/>\n<br \/>\u0645\u0646\u062a\u0634\u0631 \u0634\u062f\u0647 \u062f\u0631 1403-05-07 23:40:14<br \/>\n<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;17334&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628&quot;,&quot;legend&quot;:&quot;0\\\/5 (0 \u0631\u0627\u06cc)&quot;,&quot;size&quot;:&quot;30&quot;,&quot;title&quot;:&quot;\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0632\u06cc\u0631 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc Git - \u0628\u0627 \u0645\u062b\u0627\u0644 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} ({count} \u0631\u0627\u06cc)&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 24px;\">\n            <span class=\"kksr-muted\">\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span>Git \u0628\u062f\u0648\u0646 \u0634\u06a9 \u06cc\u06a9 \u0627\u0628\u0632\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0627\u0633\u062a\u060c \u0632\u06cc\u0631\u0627 \u0628\u0647 \u0645\u0627 \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f \u062a\u0627 \u0628\u0647 \u0637\u0648\u0631 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0628\u0627 \u0647\u0645 \u0647\u0645\u06a9\u0627\u0631\u06cc \u06a9\u0646\u06cc\u0645\u060c \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u0645\u0648\u062b\u0631 \u067e\u06cc\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u06cc\u06a9\u067e\u0627\u0631\u0686\u06af\u06cc \u067e\u0631\u0648\u0698\u0647 \u0631\u0627 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u0647\u0627\u06cc \u062a\u0648\u0632\u06cc\u0639 \u0634\u062f\u0647 \u062d\u0641\u0638 \u06a9\u0646\u06cc\u0645. \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0628\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u067e\u06cc\u0686\u06cc\u062f\u06af\u06cc \u0648 \u062f\u0627\u0645\u0646\u0647 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627\u060c \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0622\u0646\u0647\u0627 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":17335,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1726,620,206],"tags":[498,2130,1776,1811,1786,1779,2096,1796,2123,3312,1416,1942,2097,2443,2080,1809,1946,1941,1785,2079],"class_list":{"0":"post-17334","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-devops","8":"category-programming","9":"category-development","10":"tag-git","11":"tag-----git","12":"tag-1776","13":"tag-1811","14":"tag-1786","15":"tag-1779","16":"tag-2096","17":"tag-1796","18":"tag-2123","19":"tag-3312","20":"tag---gitlab","22":"tag-2097","23":"tag-2443","24":"tag--git","25":"tag-1809","27":"tag-1941","28":"tag-1785","29":"tag-2079"},"acf":[],"_links":{"self":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/17334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/comments?post=17334"}],"version-history":[{"count":0,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/17334\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media\/17335"}],"wp:attachment":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media?parent=17334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/categories?post=17334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/tags?post=17334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}