{"id":262,"date":"2026-09-28T10:46:03","date_gmt":"2026-09-28T07:46:03","guid":{"rendered":"https:\/\/codeshot.ru\/?p=262"},"modified":"2026-09-28T10:46:04","modified_gmt":"2026-09-28T07:46:04","slug":"%d1%81%d0%b4%d0%b5%d0%bb%d0%b0%d1%82%d1%8c-git-pull-%d0%b7%d0%b0%d0%bc%d0%b5%d0%bd%d0%b8%d0%b2-%d0%bb%d0%be%d0%ba%d0%b0%d0%bb%d1%8c%d0%bd%d1%8b%d0%b5-%d1%84%d0%b0%d0%b9%d0%bb%d1%8b-%d0%be%d0%b4%d0%bd","status":"publish","type":"post","link":"https:\/\/codeshot.ru\/?p=262","title":{"rendered":"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f: \u0412 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 (\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435) \u0447\u0430\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0442\u0430\u043b\u0430 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u043d\u043e \u0432 \u0413\u0438\u0442\u041b\u0430\u0431\u0435 \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u0443\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0432 \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0432\u0435\u0440\u0441\u0438\u0439.<br><br>\u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430: <br><strong>$ git pull origin deploy<br><\/strong>branch deploy -> FETCH_HEAD<br>Updating bf189c3..1c50636<br>error: Your local changes to the following files would be overwritten by merge:<br>company\/index.php <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0430\u0440\u0438\u0430\u043d\u0442 1 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f (\u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u043a\u0438 \u0432 \u044d\u0442\u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0442\u0435\u0431\u0435 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u044b:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git checkout -- company\/index.php local\/css\/style.css\ngit pull origin deploy<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u043b\u0438 \u0441\u0440\u0430\u0437\u0443 \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git reset --hard HEAD\ngit pull origin deploy<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u26a0\ufe0f <code>reset --hard<\/code> \u0441\u043d\u0435\u0441\u0451\u0442 <strong>\u0432\u0441\u0435<\/strong> \u043d\u0435\u0437\u0430\u043a\u043e\u043c\u043c\u0438\u0447\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u044d\u0442\u0438\u0445 \u0434\u0432\u0443\u0445.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0430\u0440\u0438\u0430\u043d\u0442 2 \u2014 \u0447\u0435\u0440\u0435\u0437 stash (\u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u043f\u0440\u0438\u0433\u043e\u0434\u044f\u0442\u0441\u044f)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git stash\ngit pull origin deploy\n# \u0435\u0441\u043b\u0438 \u0441\u0442\u0430\u0440\u044b\u0435 \u043f\u0440\u0430\u0432\u043a\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u2014 \u0443\u0434\u0430\u043b\u0438\u0442\u044c stash:\ngit stash drop<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0430\u0440\u0438\u0430\u043d\u0442 3 \u2014 \u0436\u0451\u0441\u0442\u043a\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u0438\u0437 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0438<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git fetch origin deploy\ngit checkout origin\/deploy -- company\/index.php local\/css\/style.css\ngit pull origin deploy<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442 \u0444\u0430\u0439\u043b\u044b \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0437 <code>origin\/deploy<\/code> \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0448\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0430\u0440\u0438\u0430\u043d\u0442 4 \u2014 \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u044b \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0415\u0441\u043b\u0438 \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u0432 git \u0442\u0435\u0431\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u2014 \u0434\u043e\u0431\u0430\u0432\u044c \u0438\u0445 \u0432 <code>.gitignore<\/code> \u0438 \u0443\u0431\u0435\u0440\u0438 \u0438\u0437 \u0438\u043d\u0434\u0435\u043a\u0441\u0430:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git rm --cached company\/index.php local\/css\/style.css\necho \"company\/index.php\" &gt;&gt; .gitignore\necho \"local\/css\/style.css\" &gt;&gt; .gitignore<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u043e \u0441\u0443\u0434\u044f \u043f\u043e \u0442\u0432\u043e\u0435\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u0443 \u2014 \u0442\u0435\u0431\u0435 \u043d\u0443\u0436\u0435\u043d <strong>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 1 \u0438\u043b\u0438 3<\/strong>: \u0442\u044b \u0445\u043e\u0447\u0435\u0448\u044c, \u0447\u0442\u043e\u0431\u044b \u0444\u0430\u0439\u043b\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438\u0441\u044c \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u0438\u0437 git.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u044f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git fetch origin deploy\ngit checkout origin\/deploy -- company\/index.php local\/css\/style.css\ngit pull origin deploy<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u043e \u0442\u043e\u0447\u0435\u0447\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0448\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0432\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u0438\u0437 \u0443\u0434\u0430\u043b\u0451\u043d\u043a\u0438, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0435 \u0442\u0440\u043e\u043d\u0435\u0442.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f: \u0412 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 (\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435) \u0447\u0430\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0442\u0430\u043b\u0430 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u043d\u043e \u0432 \u0413\u0438\u0442\u041b\u0430\u0431\u0435 \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u0443\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0432 \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0432\u0435\u0440\u0441\u0438\u0439. \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430: $ git pull origin deploybranch deploy -> FETCH_HEADUpdating bf189c3..1c50636error: Your local changes to the following files would be overwritten by merge:company\/index.php \u0412\u0430\u0440\u0438\u0430\u043d\u0442 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[27,166,165,164],"class_list":["post-262","post","type-post","status-publish","format-standard","hentry","category-git","tag-git","tag-git-checkout","tag-git-pull","tag-gitlab"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab - CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codeshot.ru\/?p=262\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab - CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434\" \/>\n<meta property=\"og:description\" content=\"\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f: \u0412 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 (\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435) \u0447\u0430\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0442\u0430\u043b\u0430 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u043d\u043e \u0432 \u0413\u0438\u0442\u041b\u0430\u0431\u0435 \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u0443\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0432 \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0432\u0435\u0440\u0441\u0438\u0439. \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430: $ git pull origin deploybranch deploy -&gt; FETCH_HEADUpdating bf189c3..1c50636error: Your local changes to the following files would be overwritten by merge:company\/index.php \u0412\u0430\u0440\u0438\u0430\u043d\u0442 1 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codeshot.ru\/?p=262\" \/>\n<meta property=\"og:site_name\" content=\"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-28T07:46:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-28T07:46:04+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codeshot.ru\/?p=262#article\",\"isPartOf\":{\"@id\":\"https:\/\/codeshot.ru\/?p=262\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/codeshot.ru\/#\/schema\/person\/6b48a1d66b7412ead195bf1148bd6c38\"},\"headline\":\"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab\",\"datePublished\":\"2026-09-28T07:46:03+00:00\",\"dateModified\":\"2026-09-28T07:46:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codeshot.ru\/?p=262\"},\"wordCount\":200,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codeshot.ru\/#organization\"},\"keywords\":[\"GIT\",\"git checkout\",\"git pull\",\"gitlab\"],\"articleSection\":[\"GIT\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codeshot.ru\/?p=262#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codeshot.ru\/?p=262\",\"url\":\"https:\/\/codeshot.ru\/?p=262\",\"name\":\"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab - CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434\",\"isPartOf\":{\"@id\":\"https:\/\/codeshot.ru\/#website\"},\"datePublished\":\"2026-09-28T07:46:03+00:00\",\"dateModified\":\"2026-09-28T07:46:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/codeshot.ru\/?p=262#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codeshot.ru\/?p=262\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codeshot.ru\/?p=262#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/codeshot.ru\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codeshot.ru\/#website\",\"url\":\"https:\/\/codeshot.ru\/\",\"name\":\"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434\",\"description\":\"\u0420\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0441\u0430\u0439\u0442\u043e\u0432, \u043c\u043e\u0431\u0438\u043b\u043e\u043a \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432!\",\"publisher\":{\"@id\":\"https:\/\/codeshot.ru\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codeshot.ru\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codeshot.ru\/#organization\",\"name\":\"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434\",\"url\":\"https:\/\/codeshot.ru\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/codeshot.ru\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/codeshot.ru\/wp-content\/uploads\/2025\/04\/logo-agency.png\",\"contentUrl\":\"https:\/\/codeshot.ru\/wp-content\/uploads\/2025\/04\/logo-agency.png\",\"width\":200,\"height\":200,\"caption\":\"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434\"},\"image\":{\"@id\":\"https:\/\/codeshot.ru\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/codeshot.ru\/#\/schema\/person\/6b48a1d66b7412ead195bf1148bd6c38\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/codeshot.ru\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cdabdbfb555fe6cb16eec35fea8eb90e9041f992b52f31b6d31492cda7094cc6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cdabdbfb555fe6cb16eec35fea8eb90e9041f992b52f31b6d31492cda7094cc6?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/codeshot.ru\"],\"url\":\"https:\/\/codeshot.ru\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab - CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codeshot.ru\/?p=262","og_locale":"ru_RU","og_type":"article","og_title":"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab - CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434","og_description":"\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f: \u0412 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 (\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435) \u0447\u0430\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0442\u0430\u043b\u0430 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u043d\u043e \u0432 \u0413\u0438\u0442\u041b\u0430\u0431\u0435 \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u0443\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0432 \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0432\u0435\u0440\u0441\u0438\u0439. \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430: $ git pull origin deploybranch deploy -> FETCH_HEADUpdating bf189c3..1c50636error: Your local changes to the following files would be overwritten by merge:company\/index.php \u0412\u0430\u0440\u0438\u0430\u043d\u0442 1 [&hellip;]","og_url":"https:\/\/codeshot.ru\/?p=262","og_site_name":"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434","article_published_time":"2026-09-28T07:46:03+00:00","article_modified_time":"2026-09-28T07:46:04+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"admin","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"2 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codeshot.ru\/?p=262#article","isPartOf":{"@id":"https:\/\/codeshot.ru\/?p=262"},"author":{"name":"admin","@id":"https:\/\/codeshot.ru\/#\/schema\/person\/6b48a1d66b7412ead195bf1148bd6c38"},"headline":"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab","datePublished":"2026-09-28T07:46:03+00:00","dateModified":"2026-09-28T07:46:04+00:00","mainEntityOfPage":{"@id":"https:\/\/codeshot.ru\/?p=262"},"wordCount":200,"commentCount":0,"publisher":{"@id":"https:\/\/codeshot.ru\/#organization"},"keywords":["GIT","git checkout","git pull","gitlab"],"articleSection":["GIT"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codeshot.ru\/?p=262#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codeshot.ru\/?p=262","url":"https:\/\/codeshot.ru\/?p=262","name":"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab - CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434","isPartOf":{"@id":"https:\/\/codeshot.ru\/#website"},"datePublished":"2026-09-28T07:46:03+00:00","dateModified":"2026-09-28T07:46:04+00:00","breadcrumb":{"@id":"https:\/\/codeshot.ru\/?p=262#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codeshot.ru\/?p=262"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/codeshot.ru\/?p=262#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/codeshot.ru\/"},{"@type":"ListItem","position":2,"name":"\u0421\u0434\u0435\u043b\u0430\u0442\u044c git pull, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0432\u0435\u0442\u043a\u0438 GitLab"}]},{"@type":"WebSite","@id":"https:\/\/codeshot.ru\/#website","url":"https:\/\/codeshot.ru\/","name":"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434","description":"\u0420\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0441\u0430\u0439\u0442\u043e\u0432, \u043c\u043e\u0431\u0438\u043b\u043e\u043a \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432!","publisher":{"@id":"https:\/\/codeshot.ru\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codeshot.ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/codeshot.ru\/#organization","name":"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434","url":"https:\/\/codeshot.ru\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/codeshot.ru\/#\/schema\/logo\/image\/","url":"https:\/\/codeshot.ru\/wp-content\/uploads\/2025\/04\/logo-agency.png","contentUrl":"https:\/\/codeshot.ru\/wp-content\/uploads\/2025\/04\/logo-agency.png","width":200,"height":200,"caption":"CODESHOT - \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0434"},"image":{"@id":"https:\/\/codeshot.ru\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/codeshot.ru\/#\/schema\/person\/6b48a1d66b7412ead195bf1148bd6c38","name":"admin","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/codeshot.ru\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cdabdbfb555fe6cb16eec35fea8eb90e9041f992b52f31b6d31492cda7094cc6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cdabdbfb555fe6cb16eec35fea8eb90e9041f992b52f31b6d31492cda7094cc6?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/codeshot.ru"],"url":"https:\/\/codeshot.ru\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/codeshot.ru\/index.php?rest_route=\/wp\/v2\/posts\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeshot.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeshot.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeshot.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeshot.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=262"}],"version-history":[{"count":1,"href":"https:\/\/codeshot.ru\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/codeshot.ru\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/codeshot.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeshot.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeshot.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}