{"id":10146,"date":"2023-12-27T14:47:06","date_gmt":"2023-12-27T11:17:06","guid":{"rendered":"https:\/\/rasanegar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-git-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-centos-8\/"},"modified":"2023-12-27T14:47:06","modified_gmt":"2023-12-27T11:17:06","slug":"%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-git-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-centos-8","status":"publish","type":"post","link":"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d9%86%d8%b5%d8%a8-git-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-centos-8\/","title":{"rendered":"\u0631\u0648\u0634 \u0646\u0635\u0628 Git \u0628\u0631 \u0631\u0648\u06cc CentOS 8"},"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-%d9%86%d8%b5%d8%a8-git-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-centos-8\/#%d9%86%d8%b5%d8%a8_git_%d8%a8%d8%a7_yum\" >\u0646\u0635\u0628 Git \u0628\u0627 Yum<\/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-%d9%86%d8%b5%d8%a8-git-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-centos-8\/#%d9%86%d8%b5%d8%a8_git_%d8%a7%d8%b2_%d9%85%d9%86%d8%a8%d8%b9\" >\u0646\u0635\u0628 Git \u0627\u0632 \u0645\u0646\u0628\u0639<\/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-%d9%86%d8%b5%d8%a8-git-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-centos-8\/#%d9%be%db%8c%da%a9%d8%b1%d8%a8%d9%86%d8%af%db%8c_git\" >\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Git<\/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-%d9%86%d8%b5%d8%a8-git-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-centos-8\/#%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\"> 3<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span><p> <br \/>\n<br \/><\/p>\n<div class=\"markdown\">\n<p>Git \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0646\u062a\u0631\u0644 \u0646\u0633\u062e\u0647 \u062a\u0648\u0632\u06cc\u0639 \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0645\u0631\u0648\u0632\u0647 \u062a\u0648\u0633\u0637 \u0627\u06a9\u062b\u0631 \u062a\u06cc\u0645 \u0647\u0627\u06cc \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.  \u0627\u06cc\u0646 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u06a9\u062f \u062e\u0648\u062f \u0631\u0627 \u067e\u06cc\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 \u0645\u0631\u0627\u062d\u0644 \u0642\u0628\u0644\u06cc \u0628\u0631\u06af\u0631\u062f\u06cc\u062f\u060c \u0634\u0639\u0628\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0627 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0647\u0645\u06a9\u0627\u0631 \u062e\u0648\u062f \u0647\u0645\u06a9\u0627\u0631\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<p>Git \u062f\u0631 \u0627\u0635\u0644 \u062a\u0648\u0633\u0637 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Linus_Torvalds\" target=\"_blank\" rel=\"noopener\">\u0644\u06cc\u0646\u0648\u0633 \u062a\u0648\u0631\u0648\u0627\u0644\u062f\u0632<\/a><br \/>\n\u060c \u062e\u0627\u0644\u0642 \u0647\u0633\u062a\u0647 \u0644\u06cc\u0646\u0648\u06a9\u0633.<\/p>\n<p>\u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0631\u0648\u0634 \u0646\u0635\u0628 Git \u0631\u0627 \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc \u062f\u0647\u062f CentOS 8.<\/p>\n<p>\u0633\u0627\u062f\u0647 \u062a\u0631\u06cc\u0646 \u0648 \u062a\u0648\u0635\u06cc\u0647 \u0634\u062f\u0647 \u062a\u0631\u06cc\u0646 \u0631\u0627\u0647 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 Git \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0622\u0646 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f <code>yum<\/code> \u0627\u0628\u0632\u0627\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0628\u0633\u062a\u0647<\/p>\n<p>\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u067e\u0627\u06cc\u062f\u0627\u0631 Git \u0631\u0627 \u0627\u0632 \u0645\u0646\u0628\u0639 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 \u067e\u0627\u06cc\u06cc\u0646 \u0628\u0631\u0648\u06cc\u062f <a href=\"#installing-git-from-the-source\" class=\"broken_link\">\u0646\u0635\u0628 Git \u0627\u0632 \u0645\u0646\u0628\u0639<\/a><br \/>\n\u0628\u062e\u0634 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634<\/p>\n<h2 id=\"installing-git-with-yum\"><span class=\"ez-toc-section\" id=\"%d9%86%d8%b5%d8%a8_git_%d8%a8%d8%a7_yum\"><\/span>\u0646\u0635\u0628 Git \u0628\u0627 Yum <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0628\u0633\u062a\u0647 Git \u062f\u0631 CentOS\u0645\u062e\u0627\u0632\u0646 \u067e\u06cc\u0634 \u0641\u0631\u0636<\/p>\n<p>\u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0631\u0648\u062a \u06cc\u0627 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a sudo \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u062a\u0627 Git \u0631\u0627 \u0631\u0648\u06cc \u062e\u0648\u062f \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f CentOS \u0633\u06cc\u0633\u062a\u0645:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">sudo yum install git<\/code><\/pre>\n<p>\u0646\u0635\u0628 \u0631\u0627 \u0628\u0627 \u062a\u0627\u06cc\u067e \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u062a\u0623\u06cc\u06cc\u062f \u06a9\u0646\u06cc\u062f\u060c \u06a9\u0647 \u0646\u0633\u062e\u0647 Git \u0631\u0627 \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">git --version<\/code><\/pre>\n<p>\u062f\u0631 \u0632\u0645\u0627\u0646 \u0646\u06af\u0627\u0631\u0634 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0646\u0633\u062e\u0647 \u0641\u0639\u0644\u06cc Git \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0627\u0633\u062a CentOS 8 \u0645\u062e\u0632\u0646 \u0627\u0633\u062a <code>2.18.1<\/code>.<\/p>\n<pre tabindex=\"0\"><code class=\"language-output\" data-lang=\"output\">git version 2.18.1\n<\/code><\/pre>\n<p>\u062e\u0648\u062f\u0634\u0647!  \u0634\u0645\u0627 Git \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u0648 \u0622\u0645\u0627\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0647\u0633\u062a\u06cc\u062f.<\/p>\n<h2 id=\"installing-git-from-the-source\"><span class=\"ez-toc-section\" id=\"%d9%86%d8%b5%d8%a8_git_%d8%a7%d8%b2_%d9%85%d9%86%d8%a8%d8%b9\"><\/span>\u0646\u0635\u0628 Git \u0627\u0632 \u0645\u0646\u0628\u0639 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 Git \u0627\u0632 \u0645\u0646\u0628\u0639 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 Git \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0633\u0627\u062e\u062a \u0631\u0627 \u0633\u0641\u0627\u0631\u0634\u06cc \u06a9\u0646\u06cc\u062f.  \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0646\u0635\u0628 Git \u062e\u0648\u062f \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0622\u0646 \u062d\u0641\u0638 \u06a9\u0646\u06cc\u062f <code>yum<\/code> \u0645\u062f\u06cc\u0631 \u0628\u0633\u062a\u0647<\/p>\n<p>\u0628\u0627 \u0646\u0635\u0628 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a Git \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f CentOS:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">sudo yum groupinstall \"Development Tools\"<\/code><code class=\"terminal-line\" prefix=\"$\">sudo yum install curl-devel expat-devel gettext-devel openssl-devel  perl-CPAN perl-devel zlib-devel<\/code><\/pre>\n<p>\u067e\u0633 \u0627\u0632 \u0627\u062a\u0645\u0627\u0645 \u0646\u0635\u0628\u060c \u0645\u0631\u0648\u0631\u06af\u0631 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 <a href=\"https:\/\/github.com\/git\/git\/releases\" target=\"_blank\" rel=\"noopener\">\u0622\u06cc\u0646\u0647 \u067e\u0631\u0648\u0698\u0647 Git \u062f\u0631 GitHub<\/a><br \/>\n\u0648 \u0622\u062e\u0631\u06cc\u0646 URL \u0644\u06cc\u0646\u06a9 \u0627\u0646\u062a\u0634\u0627\u0631 \u0631\u0627 \u06a9\u0647 \u0628\u0647 \u0622\u0646 \u062e\u062a\u0645 \u0645\u06cc \u0634\u0648\u062f \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f <code>.tar.gz<\/code>:<\/p>\n<figure class=\"relative\">\n<div class=\"relative block w-full mx-auto my-0\">\n<div class=\"bg-gray-100 absolute inset-0 w-full h-full m-auto overflow-hidden\"><img decoding=\"async\" class=\"absolute inset-0 w-full h-full m-auto\" loading=\"lazy\" src=\"https:\/\/rasanegar.com\/blog\/wp-content\/uploads\/2023\/12\/1703675826_148_\u0646\u062d\u0648\u0647-\u0646\u0635\u0628-Git-\u0628\u0631-\u0631\u0648\u06cc-CentOS-8.jpg\" alt=\"\u0646\u0635\u0628 Git \u0627\u0632 \u0633\u0648\u0631\u0633 \" title=\"\"><\/div>\n<\/div>\n<\/figure>\n<p>\u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631\u060c \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u067e\u0627\u06cc\u062f\u0627\u0631 Git \u0627\u0633\u062a <code>2.23.0<\/code>\u060c \u0627\u0645\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0645\u062a\u0641\u0627\u0648\u062a \u0628\u0627\u0634\u062f.<\/p>\n<p>\u0645\u0627 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0645\u0646\u0628\u0639 Git \u0631\u0627 \u062f\u0631 \u0642\u0633\u0645\u062a \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u0645 <code>\/usr\/src<\/code> \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc\u060c \u06a9\u0647 \u0645\u06a9\u0627\u0646 \u0631\u0627\u06cc\u062c \u0628\u0631\u0627\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0645\u0646\u0628\u0639 \u0627\u0633\u062a.  \u0628\u0647 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u0631\u0648\u06cc\u062f:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">cd \/usr\/src\/<\/code><\/pre>\n<p>\u062f\u0627\u0646\u0644\u0648\u062f \u0641\u0627\u06cc\u0644 tar.gz \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 <code>git.tar.gz<\/code> \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u06cc\u0648\u0646\u062f\u06cc \u06a9\u0647 \u0642\u0628\u0644\u0627\u064b \u06a9\u067e\u06cc \u06a9\u0631\u062f\u06cc\u062f:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">sudo wget https:\/\/github.com\/git\/git\/archive\/v2.23.0.tar.gz -O git.tar.gz<\/code><\/pre>\n<p>\u0633\u067e\u0633\u060c tarball \u0631\u0627 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0627 \u062a\u0627\u06cc\u067e \u06a9\u0631\u062f\u0646\u060c \u0628\u0647 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0645\u0646\u0628\u0639 git \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">sudo tar -xf git.tar.gz<\/code><code class=\"terminal-line\" prefix=\"$\">cd git-*<\/code><\/pre>\n<p>\u062f\u0648 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u0648 \u0646\u0635\u0628 Git \u0628\u0631 \u0631\u0648\u06cc \u062e\u0648\u062f \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f CentOS \u0633\u06cc\u0633\u062a\u0645:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">sudo make prefix=\/usr\/local all<\/code><code class=\"terminal-line\" prefix=\"$\">sudo make prefix=\/usr\/local install<\/code><\/pre>\n<p>\u062a\u0627\u06cc\u067e \u06a9\u0646\u06cc\u062f <code>git --version<\/code> \u0628\u0631\u0627\u06cc \u062a\u0627\u06cc\u06cc\u062f \u0646\u0635\u0628:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">git --version<\/code><\/pre>\n<pre tabindex=\"0\"><code class=\"language-output\" data-lang=\"output\">git version 2.23.0\n<\/code><\/pre>\n<p>\u0628\u0639\u062f\u0627\u064b\u060c \u0648\u0642\u062a\u06cc \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0647 \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f\u062a\u0631 \u0622\u067e\u062f\u06cc\u062a \u06a9\u0646\u06cc\u062f\u060c \u0622\u0631\u0634\u06cc\u0648 \u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0631\u062f\u0647 \u0648 \u0628\u06cc\u0644\u062f \u0631\u0627 \u062a\u06a9\u0631\u0627\u0631 \u06a9\u0646\u06cc\u062f process.<\/p>\n<h2 id=\"configuring-git\"><span class=\"ez-toc-section\" id=\"%d9%be%db%8c%da%a9%d8%b1%d8%a8%d9%86%d8%af%db%8c_git\"><\/span>\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Git <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u06a9\u0647 Git \u0631\u0627 \u0631\u0648\u06cc \u062e\u0648\u062f \u0646\u0635\u0628 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f CentOS \u062f\u0633\u062a\u06af\u0627\u0647\u060c \u0627\u06cc\u062f\u0647 \u062e\u0648\u0628\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0634\u062e\u0635\u06cc \u062e\u0648\u062f \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.  \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0646\u0627\u0645 commit \u0648 \u0622\u062f\u0631\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0634\u0645\u0627 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc \u06a9\u0646\u062f:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">git config --global user.name \"Your Name\"<\/code><code class=\"terminal-line\" prefix=\"$\">git config --global user.email \"youremail@yourdomain.com\"<\/code><\/pre>\n<p>\u0628\u0631\u0627\u06cc \u062a\u0623\u06cc\u06cc\u062f \u0627\u06cc\u0646\u06a9\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u062f\u0631 Git \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f\u060c \u062a\u0627\u06cc\u067e \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"terminal\"><code class=\"terminal-line\" prefix=\"$\">git config --list<\/code><\/pre>\n<pre tabindex=\"0\"><code class=\"language-output\" data-lang=\"output\">user.name=Your Name\nuser.email=youremail@yourdomain.com\n<\/code><\/pre>\n<p>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u062f\u0631 <code>~\/.gitconfig<\/code> \u0641\u0627\u06cc\u0644:<\/p>\n<div class=\"code-label\">~\/.gitconfig<\/div>\n<pre tabindex=\"0\"><code class=\"language-conf\" data-lang=\"conf\">[user]\n    name = Your Name\n    email = youremail@yourdomain.com\n<\/code><\/pre>\n<p>\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Git \u062c\u0647\u0627\u0646\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f\u060c \u0627\u0632 \u06cc\u06a9\u06cc \u0627\u0632 \u0622\u0646\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <code>git config<\/code> \u062f\u0633\u062a\u0648\u0631 \u062f\u0647\u06cc\u062f \u06cc\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f <code>~\/.gitconfig<\/code> \u0641\u0627\u06cc\u0644 \u0628\u0627 \u062f\u0633\u062a<\/p>\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>\u0646\u0635\u0628 Git \u062f\u0631 CentOS 8 \u0645\u0648\u0636\u0648\u0639 \u0627\u062c\u0631\u0627\u06cc \u06cc\u06a9 \u062a\u06a9 \u0627\u0633\u062a <code>yum<\/code> \u0641\u0631\u0645\u0627\u0646  \u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 Git \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0627\u0632 \u0645\u0646\u0628\u0639 \u0628\u0633\u0627\u0632\u06cc\u062f.<\/p>\n<p>\u0627\u06af\u0631 \u062a\u0627\u0632\u0647 \u0648\u0627\u0631\u062f Git \u0647\u0633\u062a\u06cc\u062f\u060c \u0622\u0646 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f <a href=\"https:\/\/git-scm.com\/book\/en\/v2\" target=\"_blank\" rel=\"noopener\">\u06a9\u062a\u0627\u0628 Pro Git<\/a><br \/>\n\u060c \u06a9\u0647 \u06cc\u06a9 \u0645\u0646\u0628\u0639 \u0639\u0627\u0644\u06cc \u0628\u0631\u0627\u06cc \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Git \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06af\u0631 \u0645\u0634\u06a9\u0644\u06cc \u062f\u0627\u0631\u06cc\u062f \u06cc\u0627 \u0628\u0627\u0632\u062e\u0648\u0631\u062f \u062f\u0627\u0631\u06cc\u062f\u060c \u062f\u0631 \u0632\u06cc\u0631 \u0646\u0638\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<div class=\"flex flex-wrap my-8\">centos git<\/div>\n<\/div>\n\n<div>\u0628\u0631\u0627\u06cc \u0646\u06af\u0627\u0631\u0634 \u0628\u062e\u0634\u0647\u0627\u06cc\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0645\u062a\u0646 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0632 \u062a\u0631\u062c\u0645\u0647 \u0645\u0627\u0634\u06cc\u0646\u06cc \u06cc\u0627 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc GPT \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f <br \/>\n\u0644\u0637\u0641\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0648\u062c\u0648\u062f \u0645\u0634\u06a9\u0644 \u062f\u0631 \u0645\u062a\u0646 \u06cc\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0628\u0648\u062f\u0646 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a\u060c \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062f\u06a9\u0645\u0647 \u06af\u0632\u0627\u0631\u0634 \u0646\u0648\u0634\u062a\u0627\u0631 \u06cc\u0627 \u062f\u0631\u062c \u0646\u0638\u0631 \u0631\u0648\u06cc \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0645\u0627 \u0631\u0627 \u0627\u0632 \u062c\u0632\u06cc\u06cc\u0627\u062a \u0645\u0634\u06a9\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u0634\u062f\u0647 \u0645\u0637\u0644\u0639 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0622\u0646 \u0631\u0633\u06cc\u062f\u06af\u06cc \u06a9\u0646\u06cc\u0645\n<\/div>\n<p>\u0632\u0645\u0627\u0646 \u0627\u0646\u062a\u0634\u0627\u0631: 1402-12-27 14:47:02<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;10146&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 \u0646\u0635\u0628 Git \u0628\u0631 \u0631\u0648\u06cc CentOS 8&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\"> 3<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span>Git \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u06a9\u0646\u062a\u0631\u0644 \u0646\u0633\u062e\u0647 \u062a\u0648\u0632\u06cc\u0639 \u0634\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0645\u0631\u0648\u0632\u0647 \u062a\u0648\u0633\u0637 \u0627\u06a9\u062b\u0631 \u062a\u06cc\u0645 \u0647\u0627\u06cc \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0627\u06cc\u0646 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u06a9\u062f \u062e\u0648\u062f \u0631\u0627 \u067e\u06cc\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 \u0645\u0631\u0627\u062d\u0644 \u0642\u0628\u0644\u06cc \u0628\u0631\u06af\u0631\u062f\u06cc\u062f\u060c \u0634\u0639\u0628\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0628\u0627 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0647\u0645\u06a9\u0627\u0631 \u062e\u0648\u062f \u0647\u0645\u06a9\u0627\u0631\u06cc \u06a9\u0646\u06cc\u062f. Git \u062f\u0631 \u0627\u0635\u0644 \u062a\u0648\u0633\u0637 \u0644\u06cc\u0646\u0648\u0633 \u062a\u0648\u0631\u0648\u0627\u0644\u062f\u0632 \u060c \u062e\u0627\u0644\u0642 \u0647\u0633\u062a\u0647 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":10147,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[202,95],"tags":[498,2534,1291,487,2538,2539],"class_list":["post-10146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-os","category-linux","tag-git","tag-vps-","tag--linux","tag-487","tag---linux","tag-2539"],"acf":[],"_links":{"self":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/10146","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/comments?post=10146"}],"version-history":[{"count":0,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/10146\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media\/10147"}],"wp:attachment":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media?parent=10146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/categories?post=10146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/tags?post=10146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}