{"id":337462,"date":"2022-08-24T15:00:43","date_gmt":"2022-08-24T15:00:43","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=337462"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=337462","title":{"rendered":"<span>Git \u2014 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 Visual Studio 2022 \u0441 MeGit\/EGit \u0438 SourceTree<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/683576\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/4e8\/f09\/ee5\/4e8f09ee58a75df4d06f7e669ca91047.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4e8\/f09\/ee5\/4e8f09ee58a75df4d06f7e669ca91047.png\"\/><\/div>\n<p><\/a><br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Git \u0432 IDE Visual Studio 2022 \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u0445 Git \u0441 GUI. Git \u0432\u043d\u0443\u0442\u0440\u0438 VS2022 \u0438\u043c\u0435\u0435\u0442 \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 GUI-\u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438 \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 MeGit\/EGit \u0438 SourceTree. \u042d\u0442\u043e \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 VS2022\/Git, \u043e\u0434\u043d\u0430\u043a\u043e \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b.<a name=\"habracut\"><\/a><\/p>\n<h2><font color=\"#3AC1EF\">1. \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/font><\/h2>\n<p>  Git \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u0432 IDE Visual Studio, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 2019, \u0430 \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 2022 \u043e\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0435\u0449\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043b\u044e\u0431\u0438\u043c\u044b\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439 \u0432 Visual Studio\/Microsoft. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 GUI-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 Git \u0432 VS2022.<\/p>\n<h3><font color=\"#3AC1EF\">\u258d 1.1. GUI-\u043a\u043b\u0438\u0435\u043d\u0442 Git MeGit\/EGit \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f<\/font><\/h3>\n<p>  \u042f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u044b\u0439 GUI-\u043a\u043b\u0438\u0435\u043d\u0442 Git MeGit\/EGit <sup><a href=\"#1\">[1]<\/a><\/sup> \u2014 \u044d\u0442\u043e \u00ab\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 Git\u00bb. \u042d\u0442\u043e GUI-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 Git, \u043d\u043e \u0438\u0437 \u0432\u0441\u0435\u0445 \u0432\u0438\u0434\u0435\u043d\u043d\u044b\u0445 \u043c\u043d\u043e\u0439 GUI-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 Git \u043e\u043d \u0431\u043b\u0438\u0436\u0435 \u0432\u0441\u0435\u0433\u043e \u043a \u00ab\u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0438 \u0438 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438 Git\u00bb, \u0430 \u0435\u0449\u0451 \u043c\u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0435\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a \u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c GUI-\u043e\u043f\u0446\u0438\u0438 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 GUI VS2022. \u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 Git, \u043d\u043e \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0441 \u043d\u0438\u043c \u0431\u044b\u043b\u043e \u0431\u044b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0441\u043b\u043e\u0436\u043d\u043e. \u041f\u0440\u0430\u0432\u0434\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0438 \u043e\u0434\u0438\u043d GUI-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 Git \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435\u0445 \u043e\u043f\u0446\u0438\u0439, \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0443 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 Git. \u041d\u043e \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e \u0438 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u044d\u0442\u0438 \u043e\u043f\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u0432\u0441\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044f \u0443\u0436\u0435 \u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0441 TFS \u0438 \u0434\u0435\u043b\u0430\u044e \u0432\u0441\u0451 \u0438\u0437 GUI; \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043c\u043d\u0435 \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 TFS <sup><a href=\"#2\">[2]<\/a><\/sup>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/583\/327\/52c\/58332752ce7401cf9d831773bf35270f.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/583\/327\/52c\/58332752ce7401cf9d831773bf35270f.png\"\/><\/div>\n<h3><font color=\"#3AC1EF\">\u258d 1.2. \u0424\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u044f Git \u0432 VS2022<\/font><\/h3>\n<p>  \u0418\u0437\u0443\u0447\u0438\u0432 GUI-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 Git \u0432 VS2022, \u044f \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e \u0435\u0433\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0438\u043c\u0435\u043b\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043c\u043d\u0435\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c Git. \u041f\u043e\u0445\u043e\u0436\u0435, \u043e\u043d\u0438 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0438 Git \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u0445 \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 MeGit\/EGit. \u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u043e\u043d\u0438 \u0434\u0443\u043c\u0430\u043b\u0438, \u0447\u0442\u043e \u0432\u0441\u0435 \u0433\u0440\u044f\u0437\u043d\u044b\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 Git \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0441\u043a\u0440\u044b\u0442\u044c \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432; \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u043b\u0441\u044f \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0431\u0435\u0437 \u0437\u043d\u0430\u043d\u0438\u0439 Git, \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u043b\u0438\u0448\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439, \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c \u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u0431\u044b\u043b \u0443\u043c\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u0438\u0432\u043b\u0451\u043a\u0448\u0438\u0439 \u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 VS2022\/Git \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439\/\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c Git \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432\/\u043e\u043f\u0446\u0438\u0439 \u0438\u043b\u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e Git \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/a5a\/462\/1d4\/a5a4621d4ffd3db359c60890b2d143ad.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/a5a\/462\/1d4\/a5a4621d4ffd3db359c60890b2d143ad.png\"\/><\/div>\n<h3><font color=\"#3AC1EF\">\u258d 1.3 GUI-\u043a\u043b\u0438\u0435\u043d\u0442 Git SourceTree \u0434\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f<\/font><\/h3>\n<p>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Atlassian SourceTree <sup><a href=\"#3\">[3]<\/a><\/sup> \u2014 \u044d\u0442\u043e \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 GUI-\u043a\u043b\u0438\u0435\u043d\u0442 Git. \u041c\u044b \u043f\u043e\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u0435\u0433\u043e \u043f\u0430\u043d\u0435\u043b\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 VS2022 \u0432 \u043e\u0434\u043d\u0438\u0445 \u0438 \u0442\u0435\u0445 \u0436\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u0445. \u041c\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u043c, \u0447\u0442\u043e MeGit\/EGit \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u0435\u043d \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u00ab\u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b Git\u00bb. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 SourceTree, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c VS2022, \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043e\u043a\u0440\u044b\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u00ab\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 Git\u00bb, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e HEAD \u0438 Refs. \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u0447\u0435\u043c VS2022.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/877\/3f7\/fc8\/8773f7fc8fe9cc65a9fb95c9e08d081f.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/877\/3f7\/fc8\/8773f7fc8fe9cc65a9fb95c9e08d081f.png\"\/><\/div>\n<h3><font color=\"#3AC1EF\">\u258d 1.4 Git \u043d\u0435 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u0435\u043d \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f<\/font><\/h3>\n<p>  \u042f \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u044e\u0442 \u00ab\u043f\u0440\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0434\u043e\u0440\u043e\u0433\u0443 \u043a Git\u00bb, \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0441\u0432\u0430\u0438\u0432\u0430\u044f GUI-\u043e\u043f\u0446\u0438\u0438 Git \u0432 VS2022, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0442\u0435, \u043a\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 TFS. \u0418 \u0434\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u044d\u0442\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 VS2022 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 Git, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, staging \u0444\u0430\u0439\u043b\u043e\u0432 (\u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 TFS \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c: \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 staging \u0438 \u0437\u0430\u0447\u0435\u043c \u043e\u043d \u043d\u0443\u0436\u0435\u043d?). \u041d\u043e \u044f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u043d\u0438\u0431\u0443\u0434\u044c \u043a\u043d\u0438\u0433\u0443 \u043f\u043e Git, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0438\u043c\u0435\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0438 \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u044e, \u0438 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u043d\u0435\u0440\u0435\u0448\u0430\u0435\u043c\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 Git, \u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0435\u0451. \u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0447\u0438\u0442\u0435\u0441\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u044f GUI-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0442\u043e \u0434\u043b\u044f \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f Git \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 MeGit\/EGit, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0442\u0430\u043a \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043e\u0442 \u0432\u0430\u0441 VS2022.  <\/p>\n<blockquote><p><b><font color=\"#3AC1EF\">\u042d\u0442\u043e \u043d\u0435 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u043f\u043e Git<\/font><\/b><br \/>  \u0421\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u043a\u0430\u043a \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b \u043f\u043e Git. \u041e\u043d\u0430 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u0438\u043c\u0435\u044e\u0449\u0438\u0445 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0437\u043d\u0430\u043d\u0438\u044f \u0432 Git \u0438 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u043a\u0430\u043a Git \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432 IDE VS2022.<\/p><\/blockquote>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">2. VS2022 \u043f\u0440\u043e\u0442\u0438\u0432 MeGit<\/font><\/h2>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d 2.1. \u041c\u0435\u0442\u043e\u0434\u043e\u043b\u043e\u0433\u0438\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/font><\/h3>\n<p>  \u041c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 Git \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432: VS2022, MeGIt, SourceTree \u0438 GitBash.<\/p>\n<p>  \u041c\u044b \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 C# \u0438 \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f GitHub.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/c27\/862\/5ba\/c278625ba5de1dbc2ec3b7cb8e56fe09.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/c27\/862\/5ba\/c278625ba5de1dbc2ec3b7cb8e56fe09.png\"\/><\/div>\n<p>  \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u043e\u0441\u044c \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 Visual Studio:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/4e2\/66d\/0ba\/4e266d0ba1ca30742a7689892c1c83a9.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4e2\/66d\/0ba\/4e266d0ba1ca30742a7689892c1c83a9.png\"\/><\/div>\n<h3><font color=\"#3AC1EF\">\u258d 2.2. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/font><\/h3>\n<p>  \u041e\u0434\u043d\u0430 \u0438\u0437 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0438 \u0432\u0430\u0436\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439: \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0438\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.2.1. \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 GitBash<\/font><\/h4>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 Git <code>git log<\/code> \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043b\u043e\u0433 \u0432\u0441\u0435\u0445 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432.<\/p>\n<p>  \u0412\u043e\u0442 \u0432\u0441\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u0438 <code>master<\/code>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/728\/b3a\/90f\/728b3a90f1e8fa245830a01583bbc067.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/728\/b3a\/90f\/728b3a90f1e8fa245830a01583bbc067.png\"\/><\/div>\n<p>  \u0412\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432\u0441\u0435\u0445 \u0432\u0435\u0442\u043e\u043a \u0441 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u043e\u0439 <code>master<\/code>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ab7\/5f8\/be6\/ab75f8be67a8f9a625bfc80e2010ebcb.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ab7\/5f8\/be6\/ab75f8be67a8f9a625bfc80e2010ebcb.png\"\/><\/div>\n<p>  \u0412\u043e\u0442 \u00ab\u0433\u0440\u0430\u0444\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c GitBash \u2014 \u0432\u0441\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432\u0441\u0435\u0445 \u0432\u0435\u0442\u043e\u043a \u0441 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u043e\u0439 <code>master<\/code>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/3fb\/3dc\/a5b\/3fb3dca5b0116b3b38ba8aa9f6e0fddc.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3fb\/3dc\/a5b\/3fb3dca5b0116b3b38ba8aa9f6e0fddc.png\"\/><\/div>\n<h4><font color=\"#3AC1EF\">\u2752 2.2.2. \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 MeGit<\/font><\/h4>\n<p>  \u0412\u043e\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0433\u0440\u0430\u0444, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0439 MeGit. \u042d\u0442\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/43e\/f2b\/478\/43ef2b478a0e7b04e63a2cf6dd53b08e.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/43e\/f2b\/478\/43ef2b478a0e7b04e63a2cf6dd53b08e.png\"\/><\/div>\n<p>  \u041e\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u00ab\u0433\u0440\u0430\u0444\u0443\u00bb, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u043c\u0443 GitBash. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0432 \u0433\u0440\u0430\u0444\u0435 GitBash \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043b\u0430\u0441\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u2014 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u00ab\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430\u00bb (stash), \u043a\u043e\u043c\u043c\u0438\u0442 ac95254. MeGit \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u044d\u0442\u043e \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 (\u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 stash).<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.2.3. \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 VS2022<\/font><\/h4>\n<p>  \u042f \u043d\u0430\u0448\u0451\u043b \u0432 VS2022 \u0442\u0440\u0438 \u0433\u0440\u0430\u0444\u0430 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u0438 \u0432\u0441\u0435 \u043e\u043d\u0438 \u0431\u044b\u043b\u0438 \u0445\u0443\u0436\u0435, \u0447\u0435\u043c \u0434\u0430\u0436\u0435 \u0433\u0440\u0430\u0444 Git \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u041f\u043e\u0445\u043e\u0436\u0435, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0438\u043b\u0438\u0441\u044c \u043e \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041f\u0430\u043d\u0435\u043b\u044c History VS2022 \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u0442 \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043a\u043e\u043c\u043c\u0438\u0442\u044b, \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0435.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u0433\u0440\u0430\u0444 \u0434\u043b\u044f \u0442\u043e\u0439 \u0436\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0441 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u043e\u0439 <code>master<\/code> \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/bba\/cb7\/521\/bbacb752167f4e0f668378008a38a7f8.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/bba\/cb7\/521\/bbacb752167f4e0f668378008a38a7f8.png\"\/><\/div>\n<p>  \u0415\u0441\u0442\u044c \u0438 \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f, \u0431\u0435\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0435\u0442\u043e\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ae1\/61e\/f0b\/ae161ef0baadc0d8adb9f9b4721c37f0.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ae1\/61e\/f0b\/ae161ef0baadc0d8adb9f9b4721c37f0.png\"\/><\/div>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0435\u0449\u0451 \u043e\u0434\u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044f, \u0441 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u043d\u0430 \u0432\u0435\u0442\u043a\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/3b1\/037\/ace\/3b1037ace7adfafa2434e0129b68abab.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3b1\/037\/ace\/3b1037ace7adfafa2434e0129b68abab.png\"\/><\/div>\n<p>  \u042f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u0433\u0440\u0430\u0444\u044b \u0438\u0441\u0442\u043e\u0440\u0438\u0438 VS2022 \u0445\u0443\u0436\u0435, \u0447\u0435\u043c \u0433\u0440\u0430\u0444 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 MeGit, \u043d\u043e \u043e\u043f\u044b\u0442\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438. \u0412 \u043d\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>  \u0427\u0430\u0441\u0442\u043e \u043b\u044e\u0434\u0438 \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u0437\u0430\u0434\u0430\u044e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441: \u0437\u0430\u0447\u0435\u043c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0443\u0436\u0435\u043d \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 \u0433\u0440\u0430\u0444? \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u043e\u0442\u0432\u0435\u0442 \u043f\u0440\u043e\u0441\u0442: \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <i>\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c<\/i>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0434\u043e\u0440\u043e\u0432\u043e \u0438\u043c\u0435\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0433\u0440\u0430\u0444, \u0441\u0440\u0430\u0432\u043d\u0438\u043c\u044b\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u0433\u0440\u0430\u0444\u043e\u043c \u0438\u0441\u0442\u043e\u0440\u0438\u0438 MeGit.<\/p>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e VS2022 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432 \u0433\u0440\u0430\u0444\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 HEAD, \u0445\u043e\u0442\u044f \u0438 GitBash, \u0438 MeGit \u0447\u0451\u0442\u043a\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 HEAD. \u041f\u043e\u0445\u043e\u0436\u0435, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 VS \u0440\u0435\u0448\u0438\u043b\u0438, \u0447\u0442\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u044f Git \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 \u0441\u0441\u044b\u043b\u043e\u043a HEAD \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u043a\u0440\u044b\u0442\u0430 \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u043f\u0435\u0442\u0435\u043d\u0442\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Git \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u0435 \u0437\u043d\u0430\u044f, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0441\u0441\u044b\u043b\u043a\u0430 HEAD.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.2.2. \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 SourceTree<\/font><\/h4>\n<p>  \u0412\u043e\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0433\u0440\u0430\u0444, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0439 <code>SourceTree<\/code>. \u041e\u043d \u0438\u043c\u0435\u0435\u0442 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0438\u0434.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/76d\/9e8\/bff\/76d9e8bff2cc92c93e1a9dd5a33caa69.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/76d\/9e8\/bff\/76d9e8bff2cc92c93e1a9dd5a33caa69.png\"\/><\/div>\n<p>  \u041d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 <code>SourceTree<\/code> \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0442\u044c \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 <code>HEAD<\/code> \u0438 \u0441\u0441\u044b\u043b\u043e\u043a.<\/p>\n<h3><font color=\"#3AC1EF\">\u258d 2.3. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0432\u0435\u0442\u043e\u043a, \u0442\u0435\u0433\u043e\u0432, \u0441\u0441\u044b\u043b\u043e\u043a<\/font><\/h3>\n<p>  <\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.3.1. \u0412\u0435\u0442\u043a\u0438, \u0442\u0435\u0433\u0438, \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 MeGit<\/font><\/h4>\n<p>  \u0412\u0435\u0442\u043a\u0438, \u0442\u0435\u0433\u0438 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435\/\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043b\u0435\u0433\u043a\u043e:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/870\/ffd\/39e\/870ffd39e7aeeca20ae8cd4e4be6ee9a.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/870\/ffd\/39e\/870ffd39e7aeeca20ae8cd4e4be6ee9a.png\"\/><\/div>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0430\u044f checkout-\u0432\u0435\u0442\u043a\u0430 <code>master<\/code>. \u0422\u0430\u043a\u0436\u0435 \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0430 <code>HEAD ref<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 ec56b90 \u0432\u0435\u0442\u043a\u0438 <code>master<\/code>.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c checkout \u0432\u0435\u0442\u043a\u0438 <code>Feature1<\/code>, \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 \u043c\u044b\u0448\u0438 \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u043e\u043f\u0446\u0438\u044e.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/c9c\/108\/dea\/c9c108dead83bc19dde8b69a4a6022c6.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/c9c\/108\/dea\/c9c108dead83bc19dde8b69a4a6022c6.png\"\/><\/div>\n<h4><font color=\"#3AC1EF\">\u2752 2.3.2. \u0412\u0435\u0442\u043a\u0438, \u0442\u0435\u0433\u0438, \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 VS2022<\/font><\/h4>\n<p>  \u0412 VS2022 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u043a\u0440\u043e\u043c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/35a\/f62\/66d\/35af6266d75acddab44818ac2547a326.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/35a\/f62\/66d\/35af6266d75acddab44818ac2547a326.png\"\/><\/div>\n<p>  \u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0435\u0433\u043e\u0432 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435, \u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0451\u043d\u043d\u044b\u0435 \u0442\u0435\u0433\u0438 \u0432\u0438\u0434\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0433\u0440\u0430\u0444\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438. \u0421\u043f\u0438\u0441\u043e\u043a \u0441\u0441\u044b\u043b\u043e\u043a \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0440\u0435\u0448\u0438\u043b\u0438, \u0447\u0442\u043e \u043e\u043d \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u0438 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043a\u0440\u044b\u043b\u0438 \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e.<\/p>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0430\u044f checkout-\u0432\u0435\u0442\u043a\u0430 <code>master<\/code> \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0430 \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0442\u0435\u043a\u0443\u0449\u0443\u044e checkout-\u0432\u0435\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u043d\u0438\u0436\u043d\u0435\u043c \u0443\u0433\u043b\u0443.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/224\/8eb\/692\/2248eb6927a8f47ba0c6855e93ae93e2.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/224\/8eb\/692\/2248eb6927a8f47ba0c6855e93ae93e2.png\"\/><\/div>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c checkout \u0432\u0435\u0442\u043a\u0438 <code>Feature1<\/code>, \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043d\u0443\u0436\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0435 \u043f\u0440\u0430\u0432\u0443\u044e \u043a\u043b\u0430\u0432\u0438\u0448\u0443 \u043c\u044b\u0448\u0438 \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u043e\u043f\u0446\u0438\u044e.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/3f9\/ae5\/f66\/3f9ae5f66aa1add4b22311ab399a93f6.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3f9\/ae5\/f66\/3f9ae5f66aa1add4b22311ab399a93f6.png\"\/><\/div>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c checkout \u0432\u0435\u0442\u043a\u0438 \u0432\u043e \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u043c \u043c\u0435\u043d\u044e \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u043d\u0438\u0436\u043d\u0435\u043c \u0443\u0433\u043b\u0443:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/117\/7fb\/2e7\/1177fb2e7d1cf2eec99ecbaefb39fb6d.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/117\/7fb\/2e7\/1177fb2e7d1cf2eec99ecbaefb39fb6d.png\"\/><\/div>\n<h4><font color=\"#3AC1EF\">\u2752 2.3.3. \u0412\u0435\u0442\u043a\u0438, \u0442\u0435\u0433\u0438, \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 SourceTree<\/font><\/h4>\n<p>  \u0412\u0435\u0442\u043a\u0438 \u0438 \u0442\u0435\u0433\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\/\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043b\u0435\u0433\u043a\u043e \u0437\u0430\u043c\u0435\u0442\u043d\u044b, \u043e\u0434\u043d\u0430\u043a\u043e \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 GUI \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 Git \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/640\/08b\/095\/64008b095ff2b148e2aec5191a5f2221.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/640\/08b\/095\/64008b095ff2b148e2aec5191a5f2221.png\"\/><\/div>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0442\u0435\u043a\u0443\u0449\u0430\u044f checkout-\u0432\u0435\u0442\u043a\u0430 <code>master<\/code> \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0430 \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c checkout \u0432\u0435\u0442\u043a\u0438 <code>Feature1<\/code>, \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 \u043c\u044b\u0448\u0438 \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u043e\u043f\u0446\u0438\u044e.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/6cc\/016\/534\/6cc016534a308541bd008ad7b56c96ab.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/6cc\/016\/534\/6cc016534a308541bd008ad7b56c96ab.png\"\/><\/div>\n<h3><font color=\"#3AC1EF\">\u258d 2.4. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f Detached HEAD<\/font><\/h3>\n<p>  \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u00abDetached HEAD\u00bb \u043b\u0435\u0433\u043a\u043e. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c checkout \u043a\u043e\u043c\u043c\u0438\u0442\u0430, \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e\u0441\u044f \u043d\u0430 \u043a\u043e\u043d\u0446\u0435 \u0432\u0435\u0442\u043a\u0438, \u0430 \u0437\u0430\u0442\u0435\u043c \u0437\u0430\u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.4.1. Detached HEAD \u0432 MeGit<\/font><\/h4>\n<p>  \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 Detached <code>HEAD<\/code> \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 History:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ec0\/615\/6c2\/ec06156c2a037db890060fec57fc0e89.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ec0\/615\/6c2\/ec06156c2a037db890060fec57fc0e89.png\"\/><\/div>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, <code>HEAD<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043a\u043e\u043c\u043c\u0438\u0442 40c21ff, \u0430 <i>\u043d\u0435<\/i> \u043d\u0430 \u043a\u043e\u043d\u0435\u0446 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0432\u0435\u0442\u043a\u0438. \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438 Git \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 Detached <code>HEAD<\/code>. \u0412 \u043f\u0430\u043d\u0435\u043b\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0432\u0435\u0442\u043e\u043a \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0432\u0438\u0434\u0435:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/3a4\/a1c\/f42\/3a4a1cf4267e810ec5e22ee91019a9b3.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3a4\/a1c\/f42\/3a4a1cf4267e810ec5e22ee91019a9b3.png\"\/><\/div>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e <i>\u043d\u0438 \u043e\u0434\u043d\u0430<\/i> \u0432\u0435\u0442\u043a\u0430 \u043d\u0435 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u0430 \u043a\u0430\u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f, \u0430 \u0441\u0441\u044b\u043b\u043a\u0430 <code>HEAD<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 id \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 40c21ff.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.4.2. Detached HEAD \u0432 VS2022<\/font><\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0442\u0443 \u0436\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0441 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u043c \u0432 VS2022. \u0412\u043e\u0442 \u043a\u0430\u043a \u043e\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 Branches:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/f74\/d74\/8b6\/f74d748b635e95f22bac5c6056df2ea9.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/f74\/d74\/8b6\/f74d748b635e95f22bac5c6056df2ea9.png\"\/><\/div>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043d\u0438 \u043e\u0434\u043d\u0430 \u0432\u0435\u0442\u043a\u0430 \u043d\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0430 \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c. \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0438 \u043e\u0434\u043d\u0430 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f checkout-\u0432\u0435\u0442\u043a\u043e\u0439.<\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 Detached <code>HEAD<\/code> \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u043d\u0438\u0436\u043d\u0435\u043c \u0443\u0433\u043b\u0443:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/e26\/41e\/56d\/e2641e56dc960314eabedd9bbc68d07b.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/e26\/41e\/56d\/e2641e56dc960314eabedd9bbc68d07b.png\"\/><\/div>\n<p>  \u041a\u0430\u043a \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0432\u0441\u0435 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u0441\u0441\u044b\u043b\u043a\u0438 <code>HEAD<\/code> \u0432 VS2022 \u0438\u0437\u0431\u0435\u0433\u0430\u044e\u0442\u0441\u044f, \u0445\u043e\u0442\u044f \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u043c \u0438 \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 Detached HEAD. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043e\u0437\u043d\u0430\u043d\u0438\u044f\u043c\u0438 Git, \u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u0441\u043a\u0440\u044b\u0432\u0430\u044f \u043e\u0442 \u043d\u0435\u0433\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 Git, \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0442 \u0435\u043c\u0443 \u0432 \u044d\u0442\u043e\u043c.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.4.3. Detached HEAD \u0432 SourceTree<\/font><\/h4>\n<p>  \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 Detached <code>HEAD<\/code> \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 History:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/411\/3db\/349\/4113db349704d18fee6e6fa4daddd6d5.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/411\/3db\/349\/4113db349704d18fee6e6fa4daddd6d5.png\"\/><\/div>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, <code>HEAD<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043a\u043e\u043c\u043c\u0438\u0442, \u0430 <i>\u043d\u0435<\/i> \u043d\u0430 \u043a\u043e\u043d\u0435\u0446 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0432\u0435\u0442\u043a\u0438. \u0425\u044d\u0448 \u043a\u043e\u043c\u043c\u0438\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u043d\u0438\u0436\u043d\u0435\u0439 \u043f\u0430\u043d\u0435\u043b\u0438, \u043e\u043d \u0440\u0430\u0432\u0435\u043d 40c21ff. \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438 Git \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 Detached <code>HEAD<\/code>. \u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442 \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <code>HEAD<\/code>, \u0445\u043e\u0442\u044f \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u044b\u0432\u0430\u043b\u0438 \u044d\u0442\u0443 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438.<\/p>\n<p>  \u0412 \u043f\u0430\u043d\u0435\u043b\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0432\u0435\u0442\u043e\u043a \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0432\u0438\u0434\u0435:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ba5\/aa7\/517\/ba5aa7517e5d6ac7635fafabcbaaf081.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ba5\/aa7\/517\/ba5aa7517e5d6ac7635fafabcbaaf081.png\"\/><\/div>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e <i>\u043d\u0438 \u043e\u0434\u043d\u0430<\/i> \u0432\u0435\u0442\u043a\u0430 \u043d\u0435 \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u0430 \u043a\u0430\u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.4.4. \u041d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u00ab\u0432\u0438\u0441\u044f\u0447\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u00bb<\/font><\/h4>\n<p>  \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 Detached HEAD, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0432 checkout \u0432\u0435\u0442\u043a\u0438 <code>master<\/code> \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 40c21ff \u0432\u0438\u0441\u044f\u0447\u0438\u043c. \u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u043a\u043e\u043c\u043c\u0438\u0442\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0438 \u043f\u043e \u043a\u0430\u043a\u043e\u0439 \u0438\u0437 \u0441\u0441\u044b\u043b\u043e\u043a \u0438 \u043e\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432 History.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.4.5. \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0438\u0441\u044f\u0447\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430\/Detached HEAD \u0432 MeGit<\/font><\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432\u0435\u0442\u043a\u0430\u0445 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f checkout-\u0432\u0435\u0442\u043a\u0430 <code>master<\/code>, \u0430 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u0430 40c21ff \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/7c3\/c5d\/6dc\/7c3c5d6dc7e8cf4d9844f6b30507d7eb.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/7c3\/c5d\/6dc\/7c3c5d6dc7e8cf4d9844f6b30507d7eb.png\"\/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/1b0\/534\/f89\/1b0534f892660a654a0ee9b39f1c1057.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/1b0\/534\/f89\/1b0534f892660a654a0ee9b39f1c1057.png\"\/><\/div>\n<p>  \u0427\u0442\u043e, \u0435\u0441\u043b\u0438 \u043c\u044b \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0443 \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0445\u043e\u0442\u0438\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0438\u0441\u044f\u0447\u0438\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 40c21ff? \u042d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 Reflog:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/741\/e38\/99e\/741e3899e7dd70da5d754cce0d4e80c9.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/741\/e38\/99e\/741e3899e7dd70da5d754cce0d4e80c9.png\"\/><\/div>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 \u043c\u044b\u0448\u0438 \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u043f\u0446\u0438\u0438 \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u0435\u0433\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/b3a\/ea8\/7e0\/b3aea87e0649463a47b4fe3c0dc52fb5.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b3a\/ea8\/7e0\/b3aea87e0649463a47b4fe3c0dc52fb5.png\"\/><\/div>\n<p>  \u0418 \u043c\u044b \u0441\u043d\u043e\u0432\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0432 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442 40c21ff \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f checkout \u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/1d7\/29e\/66a\/1d729e66ae5267f90599142088366273.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/1d7\/29e\/66a\/1d729e66ae5267f90599142088366273.png\"\/><\/div>\n<h4><font color=\"#3AC1EF\">\u2752 2.4.6. \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0438\u0441\u044f\u0447\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430\/Detached HEAD \u0432 VS2022<\/font><\/h4>\n<p>  \u0412\u043e\u0442 \u043a\u0430\u043a \u0442\u0430 \u0436\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432 VS2022:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/4e8\/f09\/ee5\/4e8f09ee58a75df4d06f7e669ca91047.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4e8\/f09\/ee5\/4e8f09ee58a75df4d06f7e669ca91047.png\"\/><\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432\u0435\u0442\u043a\u0430\u0445 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f checkout-\u0432\u0435\u0442\u043a\u0430 <code>master<\/code>, \u0430 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u0430 40c21ff \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442. \u041c\u043e\u0436\u0435\u043c \u043b\u0438 \u043c\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0430 40c21ff? \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 VS2022 \u043d\u0435\u0442 \u043f\u0430\u043d\u0435\u043b\u0438 Reflog.<\/p>\n<p>  \u042d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442 40c21ff \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438, \u043e\u0434\u043d\u0430\u043a\u043e \u0447\u0435\u0440\u0435\u0437 GUI VS2022 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0435\u043c\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e.<\/p>\n<p>  \u0414\u043b\u044f \u043e\u043f\u044b\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0438 \u0435\u043c\u0443 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0443\u0436\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 VS2022 \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b\u0438, \u0447\u0442\u043e \u0442\u0430\u043a\u0438\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0434\u043a\u0438, \u0447\u0442\u043e \u0441\u0440\u0435\u0434\u043d\u0435\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0434\u043e\u0432\u0435\u0434\u0451\u0442\u0441\u044f \u0441 \u043d\u0438\u043c\u0438 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.4.7 \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0438\u0441\u044f\u0447\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430\/Detached HEAD \u0432 SourceTree<\/font><\/h4>\n<p>  \u0410 \u0432\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0432 <code>SourceTree<\/code>. \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432\u0435\u0442\u043a\u0430\u0445 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f checkout-\u0432\u0435\u0442\u043a\u0430 <code>master<\/code>, \u0430 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u0430 40c21ff \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/30c\/a38\/95a\/30ca3895a884ddfea9485d212202c6d9.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/30c\/a38\/95a\/30ca3895a884ddfea9485d212202c6d9.png\"\/><\/div>\n<p>  \u041a\u0430\u043a \u043d\u0430\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442 40c21ff? \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 <code>SourceTree<\/code> \u043d\u0435\u0442 \u043f\u0430\u043d\u0435\u043b\u0438 Reflog. \u041d\u043e \u0432 \u043d\u0451\u043c \u0435\u0441\u0442\u044c \u0437\u043d\u0430\u0447\u043e\u043a \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 GitBash, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u0443\u044e \u043d\u0430\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0445\u044d\u0448 \u043a\u043e\u043c\u043c\u0438\u0442\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ff7\/e26\/132\/ff7e26132d3e72e5df33f53e69d96249.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ff7\/e26\/132\/ff7e26132d3e72e5df33f53e69d96249.png\"\/><\/div>\n<p>  \u0418\u0442\u0430\u043a, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 <code>git reflog<\/code> \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0439 \u0445\u044d\u0448:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/00d\/7cd\/1a5\/00d7cd1a5c0a3b80e681ea88760162bb.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/00d\/7cd\/1a5\/00d7cd1a5c0a3b80e681ea88760162bb.png\"\/><\/div>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0445\u044d\u0448 \u0432\u0438\u0441\u044f\u0447\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430, \u043c\u044b \u043e\u0431\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u043f\u0443\u0442\u044f\u043c\u0438 \u043c\u043e\u0436\u0435\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442. \u041c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0443\u044e \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/f19\/b7c\/681\/f19b7c6813628f6e10801cfaf87503d2.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/f19\/b7c\/681\/f19b7c6813628f6e10801cfaf87503d2.png\"\/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/b4c\/8a3\/068\/b4c8a3068babfa419df76f0e41649776.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b4c\/8a3\/068\/b4c8a3068babfa419df76f0e41649776.png\"\/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ad3\/103\/2ef\/ad31032ef29e5db27e4e0b6d77635856.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ad3\/103\/2ef\/ad31032ef29e5db27e4e0b6d77635856.png\"\/><\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f checkout \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 40c21ff, \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u0438 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0442\u043a\u0438, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<h3><font color=\"#3AC1EF\">\u258d 2.5. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043f\u0430\u043d\u0435\u043b\u0438 Unstaged-\u0444\u0430\u0439\u043b\u043e\u0432\/Staged-\u0444\u0430\u0439\u043b\u043e\u0432\/\u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432<\/font><\/h3>\n<p>  \u041e\u0434\u043d\u0430 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 GUI Git \u2014 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.5.1. \u041f\u0430\u043d\u0435\u043b\u044c Unstaged-\u0444\u0430\u0439\u043b\u043e\u0432\/Staged-\u0444\u0430\u0439\u043b\u043e\u0432\/\u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 MeGit<\/font><\/h4>\n<p>  MeGit, \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0435\u0439 Git, \u0438\u043c\u0435\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u044b Unstaged- \u0438 Staged-\u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b <em>ClassA.cs<\/em>, \u0430 Git \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0435 Unstaged-\u0444\u0430\u0439\u043b\u043e\u0432 (\u00abWorking directory changes\u00bb):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/f21\/9e2\/bac\/f219e2baca6cf74aeb2692584d81446b.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/f21\/9e2\/bac\/f219e2baca6cf74aeb2692584d81446b.png\"\/><\/div>\n<p>  \u041d\u043e \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442 (\u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0430 <strong>Commit<\/strong> \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430), \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u043e\u043a \u00ab\u043f\u043b\u044e\u0441\u00bb \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0443 Staged-\u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/535\/d91\/298\/535d9129886e14a76e13b1de8c446be1.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/535\/d91\/298\/535d9129886e14a76e13b1de8c446be1.png\"\/><\/div>\n<h4><font color=\"#3AC1EF\">\u2752 2.5.2. \u041f\u0430\u043d\u0435\u043b\u044c Unstaged-\/Staged-\u0444\u0430\u0439\u043b\u043e\u0432\/\u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 VS2022<\/font><\/h4>\n<p>  VS2022 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043e\u043f\u0446\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437 \u00abWorking directory changes\u00bb (Unstaged-\u0444\u0430\u0439\u043b\u043e\u0432):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/721\/24b\/bfb\/72124bbfb34d1c74e0047dc1043b1217.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/721\/24b\/bfb\/72124bbfb34d1c74e0047dc1043b1217.png\"\/><\/div>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u044d\u0442\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c Git, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0442\u0430\u043a\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 Git. \u042d\u0442\u043e \u0441\u0445\u043e\u0436\u0435 \u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c <code>git commit -am \"&lt;commit message><\/code>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0444\u043e\u0440\u043c\u0443 \u00abStaged files\u00bb \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c stage \u0438 \u043a\u043e\u043c\u043c\u0438\u0442, \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u043e\u043a \u00ab\u043f\u043b\u044e\u0441\u00bb \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 Staged \u0442\u0435 \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u043c\u043c\u0438\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/521\/d4e\/cf5\/521d4ecf5464b710ccb2658a0923e5d8.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/521\/d4e\/cf5\/521d4ecf5464b710ccb2658a0923e5d8.png\"\/><\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e MeGit.<\/p>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 VS2022 \u0440\u0435\u0448\u0438\u043b\u0438 \u00ab\u0441\u0440\u0435\u0437\u0430\u0442\u044c \u0443\u0433\u043b\u044b\u00bb, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 \u0432 \u0444\u043e\u0440\u043c\u0435 \u00abWorking directory changes\u00bb.<\/p>\n<p>  \u041e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c: \u0437\u0430\u0447\u0435\u043c \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c Stage \u0444\u0430\u0439\u043b\u043e\u0432? \u041e\u0442\u0432\u0435\u0442 \u043f\u0440\u043e\u0441\u0442: \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0446\u0438\u044f \u0434\u043b\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0439, \u043a\u043e\u0433\u0434\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u043f\u044f\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432, \u0430 \u0445\u043e\u0442\u0438\u0442\u0435 \u0437\u0430\u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0438 \u0438\u0437 \u043d\u0438\u0445. \u0422\u0430\u043a\u0443\u044e \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0432 Staging \u044d\u0442\u0438\u0445 \u0442\u0440\u0451\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0437\u0430\u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0432 \u0442\u043e\u043b\u044c\u043a\u043e staged-\u0444\u0430\u0439\u043b\u044b.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.5.3. \u041f\u0430\u043d\u0435\u043b\u044c Unstaged-\u0444\u0430\u0439\u043b\u043e\u0432\/Staged-\u0444\u0430\u0439\u043b\u043e\u0432\/\u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 SourceTree<\/font><\/h4>\n<p>  SourceTree, \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0435\u0439 Git, \u0438\u043c\u0435\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0440\u043c\u044b \u0434\u043b\u044f Unstaged- \u0438 Staged-\u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u0431\u044b\u043b\u0438 \u0432\u043d\u0435\u0441\u0435\u043d\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b <em>ClassA.cs<\/em>, \u0430 Git \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0435 Unstaged-\u0444\u0430\u0439\u043b\u043e\u0432 (\u00abWorking directory changes\u00bb):<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ded\/df9\/a95\/deddf9a95f53436dcd30ee8d3aa7f1f9.png\" height=\"565\" width=\"570\" alt=\"Image 44\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ded\/df9\/a95\/deddf9a95f53436dcd30ee8d3aa7f1f9.png\"\/><\/div>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u0430 (\u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0430 <strong>Commit<\/strong> \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430) \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 <strong>Stage Selected<\/strong> \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0443 Staged-\u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439.<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/b38\/fb2\/37b\/b38fb237b6bb790af49320456517757f.png\" height=\"561\" width=\"575\" alt=\"Image 45\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b38\/fb2\/37b\/b38fb237b6bb790af49320456517757f.png\"\/><\/div>\n<h2><font color=\"#3AC1EF\">2.6. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 Stash<\/font><\/h2>\n<p>  \u0412 \u043e\u0431\u043e\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0445 \u0435\u0441\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0435 \u043f\u0430\u043d\u0435\u043b\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u00ab\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u00bb (stash).<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.6.1. Stash \u0432 MeGit<\/font><\/h4>\n<p>  \u0421\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 stash \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/eee\/f67\/0af\/eeef670af48ffa9ec97c64ead4e0cb2d.png\" height=\"173\" width=\"401\" alt=\"Image 46\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/eee\/f67\/0af\/eeef670af48ffa9ec97c64ead4e0cb2d.png\"\/><\/div>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0435\u043c \u043e\u0434\u0438\u043d stash, Stash \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u043c [0]. \u0422\u043e\u0433\u0434\u0430 \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0431 \u044d\u0442\u043e\u043c stash:<\/p>\n<p>  \u041c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d stash:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/078\/450\/c23\/078450c23ea21af856142a44b4ff8463.png\" height=\"269\" width=\"494\" alt=\"Image 47\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/078\/450\/c23\/078450c23ea21af856142a44b4ff8463.png\"\/><\/div>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431 \u044d\u0442\u043e\u043c stash:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/196\/e5e\/e09\/196e5ee09eb432e68d7d9945ef4f67ad.png\" height=\"383\" width=\"577\" alt=\"Image 48\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/196\/e5e\/e09\/196e5ee09eb432e68d7d9945ef4f67ad.png\"\/><\/div>\n<p>  \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445, \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e stash:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/8fe\/0f8\/941\/8fe0f8941c67215f51bf7acd22846317.png\" height=\"381\" width=\"576\" alt=\"Image 49\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/8fe\/0f8\/941\/8fe0f8941c67215f51bf7acd22846317.png\"\/><\/div>\n<h4><font color=\"#3AC1EF\">\u2752 2.6.2. Stash \u0432 VS2022<\/font><\/h4>\n<p>  \u0421\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 stash \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/68e\/a50\/b7f\/68ea50b7f4675d54417666b6acde7272.png\" height=\"153\" width=\"379\" alt=\"Image 50\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/68e\/a50\/b7f\/68ea50b7f4675d54417666b6acde7272.png\"\/><\/div>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0435\u043c \u043e\u0434\u0438\u043d stash, Stash \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u043c [0]. \u0422\u043e\u0433\u0434\u0430 \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0431 \u044d\u0442\u043e\u043c stash:<\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431 \u044d\u0442\u043e\u043c stash:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ca7\/881\/8e5\/ca78818e536aa10a033b249ff790bc49.png\" alt=\"Image 51\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ca7\/881\/8e5\/ca78818e536aa10a033b249ff790bc49.png\"\/><\/div>\n<p>  \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445, \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e stash:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/d66\/410\/175\/d664101759327d3ee8c47b3aef86820e.png\" alt=\"Image 52\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/d66\/410\/175\/d664101759327d3ee8c47b3aef86820e.png\"\/><\/div>\n<p>  VS2022 \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u043f\u0446\u0438\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0432 \u0433\u0440\u0430\u0444\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, \u0433\u0434\u0435 \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d stash. \u041f\u043e\u0445\u043e\u0436\u0435, \u043a\u0442\u043e-\u0442\u043e \u0438\u0437 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 VS2022 \u043d\u0435\u043d\u0430\u0432\u0438\u0434\u0438\u0442 \u0433\u0440\u0430\u0444\u044b \u0438\u0441\u0442\u043e\u0440\u0438\u0438 Git.<\/p>\n<p>  \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0434\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c: \u0437\u0430\u0447\u0435\u043c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u0433\u0440\u0430\u0444\u0435? \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u043e\u0442\u0432\u0435\u0442 \u043f\u0440\u043e\u0441\u0442: \u043e\u043d \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b\u043e \u0431\u044b \u0437\u0434\u043e\u0440\u043e\u0432\u043e \u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u0433\u0440\u0430\u0444\u0435.<\/p>\n<h4><font color=\"#3AC1EF\">\u2752 2.6.3. Stash \u0432 SourceTree<\/font><\/h4>\n<p>  \u0421\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 stash \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/dcd\/8c5\/4a6\/dcd8c54a6069bd082fc1c06de6ca3b12.png\" height=\"92\" width=\"299\" alt=\"Image 53\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/dcd\/8c5\/4a6\/dcd8c54a6069bd082fc1c06de6ca3b12.png\"\/><\/div>\n<p>  \u0412\u044b\u0431\u0435\u0440\u0435\u043c \u043e\u0434\u0438\u043d stash, Stash \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u043c [0].<\/p>\n<p>  \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445, \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e stash:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/0db\/ba9\/c38\/0dbba9c386af1c26408a8c3014b89d2d.png\" height=\"184\" width=\"435\" alt=\"Image 54\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/0db\/ba9\/c38\/0dbba9c386af1c26408a8c3014b89d2d.png\"\/><\/div>\n<h2><font color=\"#3AC1EF\">2.7. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 Blame<\/font><\/h2>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d 2.7.1. Blame \u0432 MeGit<\/font><\/h3>\n<p>  \u041d\u0430\u0439\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Blame \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 MeGit \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043d\u0435 \u0442\u0435\u0440\u043c\u0438\u043d Git \u00abBlame\u00bb, \u0430 \u00abRevision information\u00bb. \u0412\u0441\u0451 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0445\u043e\u0440\u043e\u0448\u043e:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/b46\/47c\/eed\/b4647ceed94e4d16acc3b2c26d07265c.png\" height=\"628\" width=\"575\" alt=\"Image 55\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b46\/47c\/eed\/b4647ceed94e4d16acc3b2c26d07265c.png\"\/><\/div>\n<p>  \u041a\u0430\u043a \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u043c\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0444\u0430\u0439\u043b <em>Program.cs<\/em> \u0438 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 12. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437 \u0435\u0451 \u0438\u0437\u043c\u0435\u043d\u044f\u043b \u0430\u0432\u0442\u043e\u0440 <code>MarkPelf<\/code> \u0432 \u043a\u043e\u043c\u043c\u0438\u0442\u0435 cef7440, \u0430 \u043d\u0438\u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431 \u044d\u0442\u043e\u043c \u043a\u043e\u043c\u043c\u0438\u0442\u0435, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0433\u0440\u0430\u0444 \u0438\u0441\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043c\u044b \u0432\u0438\u0434\u0438\u043c diff \u0444\u0430\u0439\u043b\u0430 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 cef7440.<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/35f\/074\/59a\/35f07459a91fe80eb948450ec2ca587b.png\" height=\"511\" width=\"482\" alt=\"Image 56\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/35f\/074\/59a\/35f07459a91fe80eb948450ec2ca587b.png\"\/><\/div>\n<h3><font color=\"#3AC1EF\">\u258d 2.7.2. Blame \u0432 VS2022<\/font><\/h3>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0436\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f (\u0444\u0430\u0439\u043b <em>Program.cs<\/em> \u0438 \u0441\u0442\u0440\u043e\u043a\u0430 12) VS2022 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 \u043c\u044b\u0448\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0442\u043e\u043c, \u043a\u0442\u043e \u0438 \u0432 \u043a\u0430\u043a\u043e\u043c \u043a\u043e\u043c\u043c\u0438\u0442\u0435 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437 \u043c\u0435\u043d\u044f\u043b \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<p>  \u042d\u043a\u0440\u0430\u043d Blame:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/5bb\/30f\/5fe\/5bb30f5fe33efbbe1e685ca89330e89b.png\" height=\"296\" width=\"572\" alt=\"Image 57\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/5bb\/30f\/5fe\/5bb30f5fe33efbbe1e685ca89330e89b.png\"\/><\/div>\n<p>  \u041d\u0430\u0436\u043c\u0451\u043c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 \u043c\u044b\u0448\u0438 \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0435\u0439 \u043d\u0430\u0441 \u0441\u0442\u0440\u043e\u043a\u0435 \u043a\u043e\u0434\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/b83\/01d\/509\/b8301d50954de0605bd48f6fe7b9e944.png\" alt=\"Image 58\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b83\/01d\/509\/b8301d50954de0605bd48f6fe7b9e944.png\"\/><\/div>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0430 cef7440:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/3ca\/c36\/bc2\/3cac36bc2bf87bdea1984c706e3b4c34.png\" alt=\"Image 59\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/3ca\/c36\/bc2\/3cac36bc2bf87bdea1984c706e3b4c34.png\"\/><\/div>\n<p>  \u0413\u0440\u0430\u0444 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u0430 cef7440:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/267\/bff\/0c3\/267bff0c36eedaaad04511af23510d33.png\" height=\"281\" width=\"501\" alt=\"Image 60\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/267\/bff\/0c3\/267bff0c36eedaaad04511af23510d33.png\"\/><\/div>\n<h3><font color=\"#3AC1EF\">\u258d 2.7.3 Blame \u0432 SourceTree<\/font><\/h3>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0436\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f (\u0444\u0430\u0439\u043b <em>Program.cs<\/em> \u0438 \u0441\u0442\u0440\u043e\u043a\u0430 12), <code>SourceTree<\/code> \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 \u043c\u044b\u0448\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/31b\/c07\/44a\/31bc0744ae9eb7fb253eeb9bfe6dd469.png\" height=\"404\" width=\"478\" alt=\"Image 61\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/31b\/c07\/44a\/31bc0744ae9eb7fb253eeb9bfe6dd469.png\"\/><\/div>\n<p>  \u041d\u0430\u0436\u043c\u0451\u043c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043b\u0430\u0432\u0438\u0448\u0435\u0439 \u043c\u044b\u0448\u0438 \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0435\u0439 \u043d\u0430\u0441 \u0441\u0442\u0440\u043e\u043a\u0435 \u043a\u043e\u0434\u0430:<\/p>\n<div style=\"text-align:center;\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/d71\/896\/62a\/d7189662a98198e077958cd47e5d0318.png\" height=\"336\" width=\"543\" alt=\"Image 62\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/d71\/896\/62a\/d7189662a98198e077958cd47e5d0318.png\"\/><\/div>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0430 cef7440:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/4dd\/645\/950\/4dd645950462b7dc8089df9d588ba0f8.png\" alt=\"Image 63\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4dd\/645\/950\/4dd645950462b7dc8089df9d588ba0f8.png\"\/><\/div>\n<h2><font color=\"#3AC1EF\">3. \u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/font><\/h2>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u0440\u0438\u0432\u0451\u043b \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 GUI-\u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 Git \u0432 IDE VS2022 \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u043b \u0435\u0451 \u0441 GUI-\u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438 Git MeGit\/EGit \u0438 SourceTree. \u041c\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e UI \u043a\u043b\u0438\u0435\u043d\u0442\u0430 MeGit \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u0435\u043d \u0438 \u0431\u043b\u0438\u0436\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u00ab\u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0438 \u0438 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438 Git\u00bb. \u041c\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 VS2022 \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u0439\u0442\u0438 \u043f\u043e \u043f\u0443\u0442\u0438 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f UI Git \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u0438 Git \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u044b \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>  \u042d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 Git \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043d\u043e\u0432\u044b\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0438 \u0441\u0442\u0438\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u0442 \u0438\u0445 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 Git \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435 UI \u0438 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0443 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f. \u041f\u043b\u043e\u0445\u043e \u044d\u0442\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 Git \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 \u0441\u0441\u044b\u043b\u043e\u043a HEAD \u0441\u043a\u0440\u044b\u0442\u044b \u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0446\u0438\u0438 Git \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u044b. \u041e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c Git \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0434\u0440\u0443\u0433\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b Git, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, GitBash \u0438\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439 GUI-\u043a\u043b\u0438\u0435\u043d\u0442 Git (MeGit\/EGit <sup><a href=\"#1\">[1]<\/a><\/sup>, Sourcetree <sup><a href=\"#3\">[3]<\/a><\/sup>), \u0447\u0442\u043e\u0431\u044b \u043b\u0443\u0447\u0448\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 GUI Git \u0432 VS2022.<\/p>\n<p>  \u042f\u0441\u043d\u043e \u043e\u0434\u043d\u043e \u2014 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Git \u0432 IDE VS2022 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e \u043f\u043e\u0432\u044b\u0441\u0438\u0442 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439 Git.<\/p>\n<h2><font color=\"#3AC1EF\">4. \u0421\u0441\u044b\u043b\u043a\u0438<\/font><\/h2>\n<p>  <\/p>\n<ul>\n<li><a name=\"1\"><\/a> [1] <a href=\"https:\/\/github.com\/eclipsesource\/megit\">https:\/\/github.com\/eclipsesource\/megit<\/a><\/li>\n<li><a name=\"2\"><\/a>[2] <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/devops\/repos\/tfvc\/use-team-foundation-version-control-commands?view=azure-devops\">https:\/\/docs.microsoft.com\/en-us\/azure\/devops\/repos\/tfvc\/use-team-foundation-version-control-commands?view=azure-devops<\/a><\/li>\n<li><a name=\"3\"><\/a>[3] <a href=\"https:\/\/sourcetreeapp.com\/\">https:\/\/sourcetreeapp.com\/<\/a><\/li>\n<\/ul>\n<p>  <a href=\"http:\/\/ruvds.com\/ru-rub?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=ivshin&amp;utm_content=git_%E2%80%94_sravnenie_visual_studio_2022_s_megit\/egit_i_sourcetree\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ou\/g5\/kh\/oug5kh6sjydt9llengsiebnp40w.png\" data-src=\"https:\/\/habrastorage.org\/webt\/ou\/g5\/kh\/oug5kh6sjydt9llengsiebnp40w.png\"\/><\/a><\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/683576\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/683576\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/683576\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/4e8\/f09\/ee5\/4e8f09ee58a75df4d06f7e669ca91047.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4e8\/f09\/ee5\/4e8f09ee58a75df4d06f7e669ca91047.png\"\/><\/div>\n<p><\/a><br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Git \u0432 IDE Visual Studio 2022 \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u0445 Git \u0441 GUI. Git \u0432\u043d\u0443\u0442\u0440\u0438 VS2022 \u0438\u043c\u0435\u0435\u0442 \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 GUI-\u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438 \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435 MeGit\/EGit \u0438 SourceTree. \u042d\u0442\u043e \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 VS2022\/Git, \u043e\u0434\u043d\u0430\u043a\u043e \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-337462","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=337462"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337462\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}