{"id":98,"date":"2020-04-26T19:54:38","date_gmt":"2020-04-26T18:54:38","guid":{"rendered":"https:\/\/blog.thomarite.uk\/?p=98"},"modified":"2020-05-11T23:46:14","modified_gmt":"2020-05-11T22:46:14","slug":"git-basics","status":"publish","type":"post","link":"https:\/\/blog.thomarite.uk\/index.php\/2020\/04\/26\/git-basics\/","title":{"rendered":"Git Basics"},"content":{"rendered":"\n<p>I like git, I use it, but of course, I am not an expert. And everytime I want to do something outside my comfort zone, I have to serch for help. Will try to add expamples. Most of them will be obvius for most people.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>I want to see the differences between the files I have changed (before commit) and the last commit. Thanks to <a href=\"https:\/\/stackoverflow.com\/questions\/17244471\/see-diff-between-current-state-and-last-commit\/17244494\">stackoverflow<\/a>:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">~ git diff<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like git, I use it, but of course, I am not an expert. And everytime I want to do something outside my comfort zone, I have to serch for help. Will try to add expamples. Most of them will be obvius for most people. I want to see the differences between the files I &hellip; <a href=\"https:\/\/blog.thomarite.uk\/index.php\/2020\/04\/26\/git-basics\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Git Basics&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-unix"],"_links":{"self":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":4,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}