{"id":267,"date":"2011-01-16T21:28:04","date_gmt":"2011-01-17T01:28:04","guid":{"rendered":"http:\/\/www.peteonsoftware.com\/?p=267"},"modified":"2011-01-16T21:28:04","modified_gmt":"2011-01-17T01:28:04","slug":"git-immersion","status":"publish","type":"post","link":"https:\/\/www.peteonsoftware.com\/index.php\/2011\/01\/16\/git-immersion\/","title":{"rendered":"Git Immersion"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.peteonsoftware.com\/images\/201101\/GotGit.jpg\" alt=\"Got Git\" title=\"Got Git\" style=\"float:left; margin: .5em;\" \/>I&#8217;ve begun tackling my <a href=\"https:\/\/www.peteonsoftware.com\/index.php\/2010\/12\/31\/2011-technology-resolutions\/\">2011 technology resolutions<\/a>.  It was as if the good folks at <a href=\"http:\/\/www.edgecase.com\/\">EdgeCase<\/a> read my blog and deigned to help a brotha out.  They&#8217;ve recently launched <a href=\"http:\/\/gitimmersion.com\/\">Git Immersion<\/a>, which does for Git what their Koans did for the masses.  That is, it offers a simple, step-by-step way for someone to learn a technology.<\/p>\n<p>I already learned something.  Doing Lab 3, it says to issue this command<\/p>\n<pre>git commit -m 'First Commit'<\/pre>\n<p>When I do, I get this error<\/p>\n<pre>error: pathspec 'Commit'' did not match any file(s) known to git.<\/pre>\n<p>A little of my Google-Fu and I find that my windows command prompt is anti me using the &#8216; here.  I change the command to <\/p>\n<pre>git commit -m \"First Commit\"<\/pre>\n<p>and I get the right result<\/p>\n<pre>\r\n[master (root-commit) d23d927] First Commit\r\n 1 files changed, 1 insertions(+), 0 deletions(-)\r\n create mode 100644 hello.rb\r\n<\/pre>\n<p>Another thing I learned.  When I typed &#8220;git commit&#8221; with no -m (Lab 8), it brought up VIM.  Guess what?  I&#8217;m such a n00b that I couldn&#8217;t figure out how to save my freaking file.  Thank goodness for StackOverflow here <a href=\"http:\/\/stackoverflow.com\/questions\/4708645\/vim-for-windows-what-do-i-type-to-save-and-exit-from-a-file\">to tell me<\/a> to hit Esc then type :wq and then the enter key.<\/p>\n<p>That&#8217;s it of my revelations so far.  As I&#8217;m writing this, I am through the first 10 labs and will do some more after I post this.  I&#8217;m really looking forward to learning Git because I like the way that it encourages you to work.  On to some more learning&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve begun tackling my 2011 technology resolutions. It was as if the good folks at EdgeCase read my blog and deigned to help a brotha out. They&#8217;ve recently launched Git Immersion, which does for Git &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,54],"tags":[115,114],"class_list":["post-267","post","type-post","status-publish","format-standard","hentry","category-git","category-goals","tag-git","tag-goals"],"_links":{"self":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/comments?post=267"}],"version-history":[{"count":0,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/posts\/267\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/media?parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/categories?post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.peteonsoftware.com\/index.php\/wp-json\/wp\/v2\/tags?post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}