{"id":8601,"date":"2014-11-05T18:22:16","date_gmt":"2014-11-05T18:22:16","guid":{"rendered":"https:\/\/system-administrators.info\/?p=8601"},"modified":"2020-11-05T18:22:40","modified_gmt":"2020-11-05T18:22:40","slug":"%d1%87%d0%b0%d1%81%d1%82%d0%be-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d1%83%d0%b5%d0%bc%d1%8b%d0%b5-%d0%ba%d0%be%d0%bc%d0%b0%d0%bd%d0%b4%d1%8b-git","status":"publish","type":"post","link":"https:\/\/system-administrators.info\/?p=8601","title":{"rendered":"\u0427\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b GIT"},"content":{"rendered":"<h5><span id=\"_file\">\u0412\u0437\u044f\u0442\u044c [file] \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0435\u0442\u043a\u0438:<\/span><\/h5>\n<pre>$ git checkout [branch] [file]<\/pre>\n<h5><span id=\"i\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0430\u043c\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e:<br \/>\n\u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0435\u0442\u043e\u043a:<\/span><\/h5>\n<pre>$ git branch<\/pre>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439:<\/p>\n<pre>$ git checkout -b [branch]<\/pre>\n<p>\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438:<\/p>\n<pre>$ git branch -d [\u0432\u0435\u0442\u043a\u0430]<\/pre>\n<h5><span id=\"i-2\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0430\u043c\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435:<\/span><\/h5>\n<p>Push \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 (\u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e origin):<\/p>\n<pre>$ git push origin [\u0432\u0435\u0442\u043a\u0430]<\/pre>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e git pull \u0432 \u044d\u0442\u043e\u0439 \u0432\u0435\u0442\u043a\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c .git\/config, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0441\u0435\u043a\u0446\u0438\u044e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e master \u0432\u0435\u0442\u043a\u0438<\/p>\n<h5><span id=\"__git_git_add_recursive\">\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 git \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e (git add recursive):<\/span><\/h5>\n<pre>#\u00a0find * -type f -exec git add {} \\;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0437\u044f\u0442\u044c [file] \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0435\u0442\u043a\u0438: $ git checkout [branch] [file] \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0430\u043c\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e: \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0435\u0442\u043e\u043a: $ git branch \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439: $ git checkout -b [branch] \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438: $ git branch -d [\u0432\u0435\u0442\u043a\u0430] \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0430\u043c\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435: Push \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 (\u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e origin): $ git push origin [\u0432\u0435\u0442\u043a\u0430] [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/system-administrators.info\/?p=8601\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0427\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b GIT - \u0414\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\" \/>\n<meta property=\"og:description\" content=\"\u0412\u0437\u044f\u0442\u044c [file] \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0435\u0442\u043a\u0438: $ git checkout [branch] [file] \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0430\u043c\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e: \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0435\u0442\u043e\u043a: $ git branch \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439: $ git checkout -b [branch] \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438: $ git branch -d [\u0432\u0435\u0442\u043a\u0430] \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0430\u043c\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435: Push \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 (\u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e origin): $ git push origin [\u0432\u0435\u0442\u043a\u0430] [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/system-administrators.info\/?p=8601\" \/>\n<meta property=\"og:site_name\" content=\"\u0414\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-05T18:22:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-05T18:22:40+00:00\" \/>\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=\"0 \u043c\u0438\u043d\u0443\u0442\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/system-administrators.info\/#website\",\"url\":\"https:\/\/system-administrators.info\/\",\"name\":\"\\u0414\\u043b\\u044f \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u043d\\u043e\\u0433\\u043e \\u0430\\u0434\\u043c\\u0438\\u043d\\u0438\\u0441\\u0442\\u0440\\u0430\\u0442\\u043e\\u0440\\u0430\",\"description\":\"\\u041c\\u0430\\u0442\\u0435\\u0440\\u0438\\u0430\\u043b\\u044b \\u0434\\u043b\\u044f \\u0441\\u0438\\u0441\\u0430\\u0434\\u043c\\u0438\\u043d\\u0430\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/system-administrators.info\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/system-administrators.info\/?p=8601#webpage\",\"url\":\"https:\/\/system-administrators.info\/?p=8601\",\"name\":\"\\u0427\\u0430\\u0441\\u0442\\u043e \\u0438\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u0443\\u0435\\u043c\\u044b\\u0435 \\u043a\\u043e\\u043c\\u0430\\u043d\\u0434\\u044b GIT - \\u0414\\u043b\\u044f \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u043d\\u043e\\u0433\\u043e \\u0430\\u0434\\u043c\\u0438\\u043d\\u0438\\u0441\\u0442\\u0440\\u0430\\u0442\\u043e\\u0440\\u0430\",\"isPartOf\":{\"@id\":\"https:\/\/system-administrators.info\/#website\"},\"datePublished\":\"2014-11-05T18:22:16+00:00\",\"dateModified\":\"2020-11-05T18:22:40+00:00\",\"author\":{\"@id\":\"https:\/\/system-administrators.info\/#\/schema\/person\/bae452d4027b66e977d3fa026a6e3e61\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/system-administrators.info\/?p=8601\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/system-administrators.info\/#\/schema\/person\/bae452d4027b66e977d3fa026a6e3e61\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/system-administrators.info\/#personlogo\",\"inLanguage\":\"ru-RU\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e41d445bf40842e97447b7da2c87f00a?s=96&d=mm&r=g\",\"caption\":\"admin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts\/8601"}],"collection":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8601"}],"version-history":[{"count":1,"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts\/8601\/revisions"}],"predecessor-version":[{"id":8602,"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts\/8601\/revisions\/8602"}],"wp:attachment":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}