{"id":1799,"date":"2021-08-17T20:07:46","date_gmt":"2021-08-17T20:07:46","guid":{"rendered":"https:\/\/www.toponecrm.com\/blog\/?p=1799"},"modified":"2021-08-17T22:26:21","modified_gmt":"2021-08-17T22:26:21","slug":"usefull-github-commands","status":"publish","type":"post","link":"https:\/\/toponecrm.com\/blog\/uncategorized\/usefull-github-commands\/","title":{"rendered":"Usefull GitHub commands"},"content":{"rendered":"\n<p><strong>Build<\/strong> &#8211; npm run build<\/p>\n\n\n\n<p><strong>Run <\/strong>&#8211; npm start<\/p>\n\n\n\n<p><strong>Check Git <\/strong>&#8211; git remote -v<\/p>\n\n\n\n<p><strong>Clone<\/strong><\/p>\n\n\n\n<p>git remote set-url origin <a href=\"https:\/\/github.com\/TopOneUK\/Parking.BackEnd\">https:\/\/github.com\/TopOneUK\/<\/a>CRM<\/p>\n\n\n\n<p>git clone <a href=\"https:\/\/github.com\/TopOneUK\/Parking.BackEnd\">https:\/\/github.com\/TopOn<\/a>e\/CRM D:\\GoogleDrive\\GitHUB\\TopOne.CRM<\/p>\n\n\n\n<p><strong>Create<\/strong> &#8211; npx create-react-app TestPopUp<\/p>\n\n\n\n<p><strong>Config<\/strong><\/p>\n\n\n\n<p>git config &#8211;global user.email &#8220;Mario.Zbikowskil@TopOneCRM.com&#8221;<\/p>\n\n\n\n<p>git config &#8211;global user.name &#8220;TopOneMario&#8221;<\/p>\n\n\n\n<p><strong>Node.js<\/strong><\/p>\n\n\n\n<p><strong>Others<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git init<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">npm cache clean --force<\/pre>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<ul><li>npm rebuild<\/li><li>npm i react-scripts<\/li><li>npm install styled-components<\/li><li>npm i request &#8211;save<\/li><\/ul>\n<\/div><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Build &#8211; npm run build Run &#8211; npm start Check Git &#8211; git remote -v Clone git remote set-url origin https:\/\/github.com\/TopOneUK\/CRM git clone https:\/\/github.com\/TopOne\/CRM D:\\GoogleDrive\\GitHUB\\TopOne.CRM Create &#8211; npx create-react-app TestPopUp Config git config &#8211;global user.email &#8220;Mario.Zbikowskil@TopOneCRM.com&#8221; git config &#8211;global user.name &#8220;TopOneMario&#8221; Node.js Others git init npm cache clean &#8211;force<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":[],"_tribe_ticket_has_attendee_info_fields":false},"categories":[1],"tags":[],"ticketed":false,"_links":{"self":[{"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/posts\/1799"}],"collection":[{"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/comments?post=1799"}],"version-history":[{"count":8,"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/posts\/1799\/revisions"}],"predecessor-version":[{"id":1807,"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/posts\/1799\/revisions\/1807"}],"wp:attachment":[{"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/media?parent=1799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/categories?post=1799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toponecrm.com\/blog\/wp-json\/wp\/v2\/tags?post=1799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}