{"id":241,"date":"2024-12-19T09:07:46","date_gmt":"2024-12-19T07:07:46","guid":{"rendered":"https:\/\/denielkruusman24.thkit.ee\/wp\/?page_id=241"},"modified":"2025-04-03T12:14:25","modified_gmt":"2025-04-03T09:14:25","slug":"git-cmd-kasurida","status":"publish","type":"page","link":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241","title":{"rendered":"Git CMD command line"},"content":{"rendered":"\n<p>C:\\Users\\opilane&gt;cd desktop<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop&gt;git clone https:\/\/github.com\/IrinaMerkulova\/TARgv24.git<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop&gt;cd TARgv24<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git branch Deniel Kruusman<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git checkout<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git checkout Deniel Kruusman<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git status<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git config &#8211; -global user.name \u00abDeniel Kruusman\u00bb<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git config &#8211; -global user.email \u00abdenielkruusman@gmail.com\u00bb<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git status<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git add .<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git commit -a -m \u00abnimi on lisatud\u00bb<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git status<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git add .<\/p>\n\n\n\n<p>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git commit -a -m \u00abkustuta on t\u00f5lgitud\u00bb<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>C:\\Users\\opilane&gt;cd Desktop<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop&gt;git config &#8211; -global user.name \u00abDeniel Kruusman\u00bb<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop&gt;git config &#8211; -global user.email \u00abDeniel Kruusman\u00bb<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop&gt;git config &#8211; -global &#8211; -list<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop&gt;git clone https:\/\/github.com\/IrinaMerkulova\/TARgv24.git<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop&gt;cd TARgv24<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git branch DenielK<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git checkout DenielK<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git status<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git add . \u2014 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443(\u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044e)<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git commit -a -m \u00abnimi on lisatud\u00bb \u2014 \u043a\u043e\u043c\u0435\u043d\u0442 \u0441\u043e\u0437\u0434\u0430\u044e<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git push \u2014 \u0432\u044b\u043a\u0438\u043d\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git push \u2014set-upstream origin DenielK<\/li>\n\n\n\n<li>C:\\Users\\opilane\\Desktop\\TARgv24&gt;git pull origin master &#8211; \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u0437 \u043c\u0430\u0441\u0442\u0435\u0440\u0430<\/li>\n\n\n\n<li>git init &#8211; \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/li>\n\n\n\n<li>git push &#8211;set-upstream origin DenielK<\/li>\n\n\n\n<li>git add.<\/li>\n\n\n\n<li>git commit &#8230;&#8230;<\/li>\n\n\n\n<li>git push<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/git-scm.com\/book\/ru\/v2\">https:\/\/git-scm.com\/book\/ru\/v2<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"https:\/\/denielkruusman24.thkit.ee\/wp\/wp-content\/uploads\/2025\/01\/image.png\" alt=\"\" class=\"wp-image-251 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p>\u0434\u0438\u0441\u043a C &#8211; kasutajad &#8211; opilane &#8211; .ssh \u043a\u043b\u044e\u0447 (\u043c\u0435\u0441\u0442\u043e \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430) &#8211; \u043d\u0430 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0435\u043a\u0442 &#8211; \u043e\u0434\u0438\u043d \u043a\u043b\u044e\u0447<\/p>\n\n\n\n<p>\u0414\u0438\u0441\u043a \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f github &#8211; settings &#8211; deploy keys &gt; add deploy key &#8211; \u0434\u0430\u0442\u044c \u0438\u043c\u044f \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043b\u044e\u0447 \u0438\u0437 \u043f\u0430\u0431\u043b\u0438\u0448 \u0444\u0430\u0439\u043b\u0430 (id_rsa.pub) \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 \u043d\u0430 write<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0447\u0443\u0436\u0438\u043c \u0437\u0430\u0434\u0430\u043d\u0438\u0435\u043c:<br><strong><mark>C:\\Users\\opilane\\<\/mark><\/strong><br><mark>C:\\Users\\opilane\\<strong>cd desktop<\/strong><\/mark><mark>&nbsp;<\/mark><em>#\u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0441\u0442\u043e\u043b<\/em><br><mark>C:\\Users\\opilane\\<strong>Desktop\\<\/strong><\/mark><br><mark>C:\\Users\\opilane\\Desktop\\<strong>cd ..<\/strong><\/mark>&nbsp;<em>#\u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430\u0437\u0430\u0434 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u00abopelane\u00bb<\/em><br><mark>C:\\Users\\opilane\\<\/mark><\/p>\n\n\n\n<p><mark>C:\\Users\\opilane\\Desktop\\<strong>git config \u2013global user.name \u201eDeniel Kruusman\u201c<\/strong><\/mark><em>#\u0437\u0430\u0434\u0430\u0451\u043c \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/em><br><mark>C:\\Users\\opilane\\Desktop\\<strong>git config \u2013global user.email \u201edenielkruusman@gmail.com\u201c<\/strong><\/mark><em>#\u0437\u0430\u0434\u0430\u0451\u043c \u0438\u043c\u0435\u0439\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/em><br><mark>C:\\Users\\opilane\\Desktop\\<strong>git config \u2013global \u2013list<\/strong><\/mark><em>#\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0441\u044c \u043b\u0438, \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/em><\/p>\n\n\n\n<p><mark>C:\\Users\\opilane\\Desktop\\<strong>git clone S:\\TARgv24git\\<\/strong><\/mark>&nbsp;<em>#\u043a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043a \u0441\u0435\u0431\u0435 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0441\u0442\u043e\u043b ##\u0432\u0430\u0436\u043d\u043e: \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0434\u0438\u0441\u043a, \u043d\u0443\u0436\u043d\u043e \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0437\u043d\u0430\u043a \u0434\u0438\u0441\u043a\u0430 \u0431\u0435\u0437 \u201cX\u201d<\/em><br><mark>C:\\Users\\opilane\\Desktop\\<strong>cd TARgv24git<\/strong><\/mark>&nbsp;<em>#\u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441 \u0437\u0430\u0434\u0430\u043d\u0438\u0435\u043c<\/em><\/p>\n\n\n\n<p><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git status<\/strong><\/mark>&nbsp;<em>#\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0432 \u043a\u0430\u043a\u043e\u0439 \u0432\u0435\u0442\u043a\u0435 \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0431\u0443\u0434\u0435\u0442<\/em><br><em>\u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0447\u0442\u043e \u043c\u044b \u0432 master\u2019\u0435<\/em><br><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git branch DenielK<\/strong><\/mark>&nbsp;<em>#\u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c KirillM<\/em><br><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git checkout DenielK<\/strong><\/mark>&nbsp;<em>#\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0432\u0435\u0442\u043a\u0443 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <\/em>DenielKr<br><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git status<\/strong><\/mark>&nbsp;<em>#\u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0441\u0432\u043e\u0435\u0439 \u0432\u0435\u0442\u043a\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0432\u0435\u0440\u0441\u0438\u044e<\/em><\/p>\n\n\n\n<p>\u00ab\u041f\u0440\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0444\u0430\u0439\u043b\u043e\u043c, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441, \u0434\u0430\u043b\u0435\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0444\u0430\u0439\u043b\u00bb<\/p>\n\n\n\n<p><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git add .<\/strong><\/mark><em>#\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438<\/em><br><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git commit -a -m \u201eVastasin exceli kysimusele\u201c<\/strong><\/mark>\u00a0<em>#\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0444\u0438\u043a\u0441\u0430\u0446\u0438\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 -a<br>(\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f), -m (\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0435)<\/em><br><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git status<\/strong><\/mark><em>#\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/em><br><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git push \u2013set-upstream origin KirillM<\/strong><\/mark><em>#\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 DenielK<br>\u0432 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, origin) \u0438 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u043d\u0438\u044f \u0435\u0451 \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u043e\u0439<\/em><br><mark>C:\\Users\\opilane\\Desktop\\TARgv24git\\<strong>git pull origin master<\/strong><\/mark><em>#\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u043e\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0435\u0441\u043b\u0438 \u0431\u044b\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b \u043d\u043e\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u043f\u0430\u043f\u043a\u0443 TARgv24git<\/em><\/p>\n\n\n\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f:<br><strong><mark>C:\\Users\\opilane\\S:<\/mark>\u00a0<\/strong><em>#\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u0434\u0438\u0441\u043a S:<\/em><br><strong><mark>S:\\cd TARgv24git<\/mark>\u00a0<\/strong><em>#\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 TARgv24git<\/em><br><mark>S:\\TARgv24git\\<strong>git init DenielK<\/strong><\/mark><em>#\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f Git \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 DenielK. \u0415\u0441\u043b\u0438 \u043f\u0430\u043f\u043a\u0430 \u0441<br>\u0442\u0430\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, Git \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0435\u0451 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438.<\/em><br><mark>S:\\TARgv24git\\<strong>git status<\/strong><\/mark><em>#\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/em><br><mark>S:\\TARgv24git\\<strong>git add .<\/strong><\/mark><\/p>\n\n\n\n<p>\u0421\u043a\u0438\u043d\u0443\u0442\u044c \u0432 \u0440\u0443\u0447\u043d\u0443\u044e \u0441\u0432\u043e\u0439 \u0444\u0430\u0439\u043b\u0438\u043a \u0441 \u0437\u0430\u0434\u0430\u043d\u0438\u0435\u043c \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 MelnikovGit<\/p>\n\n\n\n<p><mark>S:\\TARgv24git\\<strong>git commit -a -m \u201eLisasin faili ylesannega\u201c<br><\/strong>S:\\TARgv24git\\<strong>git status<\/strong><\/mark><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0437 w3schools<\/strong><\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git &#8211;version &#8211; command to check which version of Git (if any) is installed<\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git init &#8211; Initialize Git on the current folder<\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git add index.html &#8211; Adding\u00a0<code>index.html<\/code>\u00a0to the Staging Enviornment<\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git add -A &#8211; \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043d\u043e\u0432\u044b\u0435, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git commit -m &#8220;First release!&#8221; &#8211; \u0434\u0435\u043b\u0430\u0435\u043c \u043a\u043e\u043c\u043c\u0438\u0442 <\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git status &#8211; -short &#8211; \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0434\u043b\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git log &#8211; \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0432\u0441\u0435\u0445 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git status -help &#8211; \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u0432\u0441\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f\u043c \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 git status<\/p>\n\n\n\n<p>C:\\Users\\opilane&gt;git help &#8211;all &#8211; \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0438\u0445 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n\n\n\n<p>git branch hello-world &#8211; \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0431\u0440\u0435\u043d\u0447\u0430<\/p>\n\n\n\n<p>git branch &#8211; \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432\u0441\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0431\u0440\u0435\u043d\u0447\u0438<\/p>\n\n\n\n<p>git checkout -b hello-you &#8211; \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0431\u0440\u0435\u043d\u0447\u0430\/ Create, and move to a new\u00a0<code>branch<\/code>\u00a0with the name\u00a0<code>hello-you<\/code><\/p>\n\n\n\n<p>git merge hello-you &#8211; Merge the\u00a0<code>hello-you<\/code>\u00a0branch with the current branch<\/p>\n\n\n\n<pre id=\"showcorrectanswercontainer\" class=\"wp-block-preformatted\">git branch -d hello-you - Remove the hello-you branch from the local repository<br>git remote add origin https:\/\/github.com\/x\/y.git - \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430<br>git pull is a combination of fetch and then merge<br>git fetch origin - Get all the change history of the origin for this branch<\/pre>\n\n\n\n<p>git merge origin\/master &#8211; Merge the current branch with the branch master, on origin<\/p>\n\n\n\n<p>git pull origin &#8211; \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043e\u0442 \u0435\u0435 \u043d\u0430\u0447\u0430\u043b\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C:\\Users\\opilane&gt;cd desktop C:\\Users\\opilane\\Desktop&gt;git clone https:\/\/github.com\/IrinaMerkulova\/TARgv24.git C:\\Users\\opilane\\Desktop&gt;cd TARgv24 C:\\Users\\opilane\\Desktop\\TARgv24&gt;git branch Deniel Kruusman C:\\Users\\opilane\\Desktop\\TARgv24&gt;git checkout C:\\Users\\opilane\\Desktop\\TARgv24&gt;git checkout Deniel Kruusman C:\\Users\\opilane\\Desktop\\TARgv24&gt;git status C:\\Users\\opilane\\Desktop\\TARgv24&gt;git config &#8211; -global user.name \u00abDeniel Kruusman\u00bb C:\\Users\\opilane\\Desktop\\TARgv24&gt;git config &#8211; -global user.email \u00abdenielkruusman@gmail.com\u00bb C:\\Users\\opilane\\Desktop\\TARgv24&gt;git status C:\\Users\\opilane\\Desktop\\TARgv24&gt;git add . C:\\Users\\opilane\\Desktop\\TARgv24&gt;git commit -a -m \u00abnimi on lisatud\u00bb C:\\Users\\opilane\\Desktop\\TARgv24&gt;git status C:\\Users\\opilane\\Desktop\\TARgv24&gt;git add . C:\\Users\\opilane\\Desktop\\TARgv24&gt;git commit -a -m \u00abkustuta on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"saved_in_kubio":false,"footnotes":""},"class_list":["post-241","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Git CMD command line - Deniel Kruusman Portfolio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git CMD command line - Deniel Kruusman Portfolio\" \/>\n<meta property=\"og:description\" content=\"C:Usersopilane&gt;cd desktop C:UsersopilaneDesktop&gt;git clone https:\/\/github.com\/IrinaMerkulova\/TARgv24.git C:UsersopilaneDesktop&gt;cd TARgv24 C:UsersopilaneDesktopTARgv24&gt;git branch Deniel Kruusman C:UsersopilaneDesktopTARgv24&gt;git checkout C:UsersopilaneDesktopTARgv24&gt;git checkout Deniel Kruusman C:UsersopilaneDesktopTARgv24&gt;git status C:UsersopilaneDesktopTARgv24&gt;git config &#8211; -global user.name \u00abDeniel Kruusman\u00bb C:UsersopilaneDesktopTARgv24&gt;git config &#8211; -global user.email \u00abdenielkruusman@gmail.com\u00bb C:UsersopilaneDesktopTARgv24&gt;git status C:UsersopilaneDesktopTARgv24&gt;git add . C:UsersopilaneDesktopTARgv24&gt;git commit -a -m \u00abnimi on lisatud\u00bb C:UsersopilaneDesktopTARgv24&gt;git status C:UsersopilaneDesktopTARgv24&gt;git add . C:UsersopilaneDesktopTARgv24&gt;git commit -a -m \u00abkustuta on [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241\" \/>\n<meta property=\"og:site_name\" content=\"Deniel Kruusman Portfolio\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T09:14:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241\",\"url\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241\",\"name\":\"Git CMD command line - Deniel Kruusman Portfolio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/image.png\",\"datePublished\":\"2024-12-19T07:07:46+00:00\",\"dateModified\":\"2025-04-03T09:14:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241#primaryimage\",\"url\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/image.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?page_id=241#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git CMD command line\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/#website\",\"url\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/\",\"name\":\"Deniel Kruusman Portfolio\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/denielkruusman24.thkit.ee\\\/wp\\\/eng\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git CMD command line - Deniel Kruusman Portfolio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241","og_locale":"en_US","og_type":"article","og_title":"Git CMD command line - Deniel Kruusman Portfolio","og_description":"C:Usersopilane&gt;cd desktop C:UsersopilaneDesktop&gt;git clone https:\/\/github.com\/IrinaMerkulova\/TARgv24.git C:UsersopilaneDesktop&gt;cd TARgv24 C:UsersopilaneDesktopTARgv24&gt;git branch Deniel Kruusman C:UsersopilaneDesktopTARgv24&gt;git checkout C:UsersopilaneDesktopTARgv24&gt;git checkout Deniel Kruusman C:UsersopilaneDesktopTARgv24&gt;git status C:UsersopilaneDesktopTARgv24&gt;git config &#8211; -global user.name \u00abDeniel Kruusman\u00bb C:UsersopilaneDesktopTARgv24&gt;git config &#8211; -global user.email \u00abdenielkruusman@gmail.com\u00bb C:UsersopilaneDesktopTARgv24&gt;git status C:UsersopilaneDesktopTARgv24&gt;git add . C:UsersopilaneDesktopTARgv24&gt;git commit -a -m \u00abnimi on lisatud\u00bb C:UsersopilaneDesktopTARgv24&gt;git status C:UsersopilaneDesktopTARgv24&gt;git add . C:UsersopilaneDesktopTARgv24&gt;git commit -a -m \u00abkustuta on [&hellip;]","og_url":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241","og_site_name":"Deniel Kruusman Portfolio","article_modified_time":"2025-04-03T09:14:25+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241","url":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241","name":"Git CMD command line - Deniel Kruusman Portfolio","isPartOf":{"@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/#website"},"primaryImageOfPage":{"@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241#primaryimage"},"image":{"@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241#primaryimage"},"thumbnailUrl":"https:\/\/denielkruusman24.thkit.ee\/wp\/wp-content\/uploads\/2025\/01\/image.png","datePublished":"2024-12-19T07:07:46+00:00","dateModified":"2025-04-03T09:14:25+00:00","breadcrumb":{"@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241#primaryimage","url":"https:\/\/denielkruusman24.thkit.ee\/wp\/wp-content\/uploads\/2025\/01\/image.png","contentUrl":"https:\/\/denielkruusman24.thkit.ee\/wp\/wp-content\/uploads\/2025\/01\/image.png"},{"@type":"BreadcrumbList","@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?page_id=241#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/"},{"@type":"ListItem","position":2,"name":"Git CMD command line"}]},{"@type":"WebSite","@id":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/#website","url":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/","name":"Deniel Kruusman Portfolio","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"kubio_ai_page_context":{"short_desc":"","purpose":"general"},"_links":{"self":[{"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=\/wp\/v2\/pages\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=241"}],"version-history":[{"count":1,"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=\/wp\/v2\/pages\/241\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=\/wp\/v2\/pages\/241\/revisions\/543"}],"wp:attachment":[{"href":"https:\/\/denielkruusman24.thkit.ee\/wp\/eng\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}