{"id":28,"date":"2008-06-21T12:36:59","date_gmt":"2008-06-21T17:36:59","guid":{"rendered":"http:\/\/blog.monnet-usa.com\/?p=28"},"modified":"2008-06-21T12:36:59","modified_gmt":"2008-06-21T17:36:59","slug":"new-git-digs-on-github","status":"publish","type":"post","link":"https:\/\/blog.monnet-usa.com\/?p=28","title":{"rendered":"New Git Digs on GitHub!"},"content":{"rendered":"<p>This morning, after listening to the second Ruby on Rails podcast on <strong>GitHub<\/strong>, I decided to try it out.<\/p>\n<p><strong><a title=\"Git on Wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/Git_%28software%29\" target=\"_blank\">Git<\/a><\/strong> is THE source control software Linus Torvalds is using to maintain the Linux code base, so it&#8217;s got to be good. Also Rails and many other open source projects are using it. Some of the key differentiators for Git are:<\/p>\n<ul>\n<li>It&#8217;s very transportable since it creates a file system-based repository within your project folder. So it can be easily copied, moved, etc. And unlike <a title=\"CVS\" href=\"http:\/\/www.nongnu.org\/cvs\/\" target=\"_blank\"><strong>CVS<\/strong><\/a> or <strong><a title=\"Subversion\" href=\"http:\/\/subversion.tigris.org\/\" target=\"_blank\">Subversion<\/a><\/strong> (SVN), it does not &#8220;pollute&#8221; your source sub-folders with source control system files. Here is what my local file system looks like:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29\" title=\"gittestondisk\" src=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittestondisk.png\" alt=\"\" width=\"320\" height=\"280\" srcset=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittestondisk.png 320w, https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittestondisk-300x262.png 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/li>\n<li>It makes collaboration easier by facilitating the process of cloning, resolving differences and merging source<\/li>\n<\/ul>\n<p>So I installed Git, so what&#8217;s the fuss about GitHub? Well, imagine a kind of <a title=\"SourceForge\" href=\"http:\/\/sourceforge.net\/\" target=\"_blank\"><strong>SourceForge<\/strong><\/a> or <a title=\"RubyForge\" href=\"http:\/\/rubyforge.org\/\" target=\"_blank\"><strong>RubyForge <\/strong><\/a>with social network features such as the ability to follow what is new with a given project or what a specific committer is working on. GitHub is a startup so they offer a free version and several commercial version based on your budget and the features you need.<\/p>\n<p>I created my account: <a title=\"TechArch on GitHub\" href=\"http:\/\/github.com\/techarch\" target=\"_blank\"><strong>http:\/\/github.com\/techarch<\/strong><\/a> and created a new repository named GitTest with the following Git url: <a class=\"git_url_facebox\" rel=\"#your-git-clone\" href=\"mailto:git@github.com:techarch\/gittest.git\">git@github.com:techarch\/gittest.git<\/a>.<\/p>\n<p>Then I was downloaded and installed the actual Git software from <a title=\"Git Download\" href=\"http:\/\/code.google.com\/p\/msysgit\/downloads\/list\" target=\"_blank\">http:\/\/code.google.com\/p\/msysgit\/downloads\/list<\/a>. I then created a new local project called <strong>GitTest<\/strong>, initialized the Git repository, and set the origin to my Git url. I created a readme file, committed it, and the started to make some revisions. I finally pushed my commits to GitHub.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-30\" title=\"gittest\" src=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittest.png\" alt=\"\" width=\"500\" height=\"438\" srcset=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittest.png 544w, https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittest-300x263.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>Now I can see my changes in GitHub:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31\" title=\"github\" src=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/github.jpg\" alt=\"\" width=\"500\" height=\"315\" srcset=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/github.jpg 510w, https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/github-300x189.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>And once I made additional changes and got them pushed to GitHub:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-32\" title=\"gittestdiff\" src=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittestdiff.png\" alt=\"\" width=\"449\" height=\"116\" srcset=\"https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittestdiff.png 449w, https:\/\/blog.monnet-usa.com\/wp-content\/uploads\/2008\/06\/gittestdiff-300x77.png 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/p>\n<p>So that was fairly easy and straightforward! Although over the years, I have been using CVS and Subversion (SVN), and now Team Foundation Server (TFS) on projects at work, I have always felt that these tools were too heavy for my own personal use on my home\/personal projects. Now I have no excuse! Hello new digs on Git and GitHub! :-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This morning, after listening to the second Ruby on Rails podcast on GitHub, I decided to try it out. Git is THE source control software Linus Torvalds is using to maintain the Linux code base, so it&#8217;s got to be good. Also Rails and many other open source projects are using it. Some of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13,4],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-git","category-scm","category-tools"],"_links":{"self":[{"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":0,"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.monnet-usa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}