{"id":996,"date":"2024-05-14T09:56:33","date_gmt":"2024-05-14T07:56:33","guid":{"rendered":"https:\/\/programmier-workshops.de\/blog\/?p=996"},"modified":"2024-05-16T10:02:41","modified_gmt":"2024-05-16T08:02:41","slug":"coding4beginners-setup-git","status":"publish","type":"post","link":"https:\/\/programmier-workshops.de\/blog\/coding4beginners-setup-git\/","title":{"rendered":"Coding4Beginners: Setup Git"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/programmier-workshops.de\/blog\/coding4beginners-setup-git\/#Configure_Git\" >Configure Git<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/programmier-workshops.de\/blog\/coding4beginners-setup-git\/#Github_Account\" >Github Account<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/programmier-workshops.de\/blog\/coding4beginners-setup-git\/#GitHub\" >GitHub<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/programmier-workshops.de\/blog\/coding4beginners-setup-git\/#Authentication\" >Authentication<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/programmier-workshops.de\/blog\/coding4beginners-setup-git\/#Create_a_token_on_GitHub\" >Create a token on GitHub<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/programmier-workshops.de\/blog\/coding4beginners-setup-git\/#Use_token_for_Authentication\" >Use token for Authentication<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configure_Git\"><\/span>Configure Git<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Type the following commands<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"> git config --global credential.helper store<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">git config --global user.name Coding4Beginner\ngit config --global user.email \"coding4beginner@via-internet.de\"<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">git config --list --global<\/pre>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/git-config.mp4\"><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Github_Account\"><\/span>Github Account<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"GitHub\"><\/span>GitHub<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to this Website and create an account f\u00fcr our course: <a href=\"https:\/\/github.com\/\">https:\/\/github.com\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Go to this Website and create an account f\u00fcr our course<\/td><td><a href=\"https:\/\/github.com\/\">https:\/\/github.com\/<\/a><\/td><\/tr><tr><td>Enter your E-Mail address<br>Click on <code>Sign up for GitHub<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.47.46-1024x299.png\" alt=\"\"><\/td><\/tr><tr><td>Enter your E-Mail address<br>Click on <code>Continue<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.48.30-1024x196.png\" alt=\"\"><\/td><\/tr><tr><td>Choose a password<br>Click on <code>Continue<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.48.50-1024x322.png\" alt=\"\"><\/td><\/tr><tr><td>Enter a username<br>Click on <code>Continue<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.49.16-1024x333.png\" alt=\"\"><\/td><\/tr><tr><td>Leave the option field empty<br>Click on <code>Continue<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.49.28-1024x355.png\" alt=\"\"><\/td><\/tr><tr><td>Verify your account<br>Click on <code>Continue<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.49.49-1024x450.png\" alt=\"\"><\/td><\/tr><tr><td><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.50.08-1024x442.png\" alt=\"\"><\/td><\/tr><tr><td>Enter the verification code you received by E-Mail<\/td><td><\/td><\/tr><tr><td>Select team size 2-4 and <code>Student<\/code><br>Click on <code>Continue<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.51.21-1024x354.png\" alt=\"\"><\/td><\/tr><tr><td><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.51.35-1024x687.png\" alt=\"\"><\/td><\/tr><tr><td>Select <code>Continue for Free<\/code><\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.51.58-1024x852.png\" alt=\"\"><\/td><\/tr><tr><td>Your done<\/td><td><img decoding=\"async\" src=\"https:\/\/programmier-workshops.de\/blog\/wp-content\/uploads\/2024\/05\/Bildschirmfoto-2024-05-05-um-11.52.33-1024x545.png\" alt=\"\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Authentication\"><\/span>Authentication<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Create_a_token_on_GitHub\"><\/span>Create a token on GitHub<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_token_for_Authentication\"><\/span>Use token for Authentication<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">echo .secrets | gh auth login --with-token<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Configure Git Type the following commands Github Account GitHub Go to this Website and create an account f\u00fcr our course: https:\/\/github.com\/ Go to this Website and create an account f\u00fcr our course https:\/\/github.com\/ Enter your E-Mail addressClick on Sign up for GitHub Enter your E-Mail&hellip;<\/p>\n","protected":false},"author":1,"featured_media":887,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,3,33],"tags":[],"class_list":["post-996","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding4beginner","category-kurs","category-kurs-lesson"],"_links":{"self":[{"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/posts\/996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/comments?post=996"}],"version-history":[{"count":4,"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/posts\/996\/revisions"}],"predecessor-version":[{"id":1022,"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/posts\/996\/revisions\/1022"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/media\/887"}],"wp:attachment":[{"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/media?parent=996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/categories?post=996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programmier-workshops.de\/blog\/wp-json\/wp\/v2\/tags?post=996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}