{"id":15796,"date":"2012-05-02T18:19:59","date_gmt":"2012-05-02T23:19:59","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=15796"},"modified":"2012-05-02T19:04:33","modified_gmt":"2012-05-03T00:04:33","slug":"github","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=15796","title":{"rendered":"Github"},"content":{"rendered":"<div class=\"dmnotes\">EDIT: So after spending the better part of an hour trying to make this work, I see a comment from someone pointing me to <a href=\"?p=12061\">an old post<\/a> where I talked about using Mercurial for my project. I sort of vaguely remember looking at Mercurial at some point.  I think I installed it?<\/p>\n<p>I look, and sure enough I see Mercurial files in the Project Frontier directory. Hm. So I guess all I need to do is create an account on BitBucket?<\/p>\n<p>I do so, but it turns out I already have an account.  I log in, and I find weeks and weeks of meticulously tracked changes.  Apparently I not only used Mercurial, but I used BitBucket, and I used both extensively. I can read through hundreds of changes. All written by me.<\/p>\n<p>It is really, really creepy realizing that I did all this stuff and no longer remember it.  It&#8217;s like looking at someone else&#8217;s work. Or like someone else is reading my work. Or something. I don&#8217;t know. <\/p>\n<p>I&#8217;m worried there&#8217;s something wrong with my brain that makes me forget things.  Also&#8230; what if there&#8217;s something wrong with my brain that makes me forget things?<\/p>\n<p>Okay, I&#8217;ll be making the repository public, but I need to go freak out for a little while.\n<\/p><\/div>\n<p>So I&#8217;m trying to add Project Frontier to GitHub.  This is not going well.<\/p>\n<p>Created an account. Created a repository.  Installed Git locally. Followed the directions to set up git locally, <a href=\"http:\/\/help.github.com\/win-set-up-git\/\">which includes typing stuff into a Linux shell<\/a>, which is trivial if you know what you&#8217;re doing and utterly, utterly mysterious if you don&#8217;t. Created ssh key. Set up a local repository.  Added files meticulously one at  a time from a list of hundreds of files because the Git GUI  just lists all files and I don&#8217;t see how to filter for JUST source files. I hit commit and&#8230; <a href=\"https:\/\/github.com\/ShamusYoung\/Project-Frontier\">nothing showed up<\/a>.<\/p>\n<p>Okay. This was supposed to be a quick &#038; easy thing, and I&#8217;m now 40 mins in, I&#8217;ve got Git infrastructure spewed all over my computer and I can&#8217;t get it to do this very simple thing. I&#8217;ve used source code control before, and it was always pretty straightforward.  Even thirteen years ago, <a href=\"http:\/\/help.github.com\/git-cheat-sheets\/\">I never had to type crap into a console window to perform simple tasks<\/a>. Is Git only for people who understand Linux? (The front end is all friendly and Windows-like, which is what led me to believe I&#8217;d be able to do this.  If it <em>started<\/em> with a console window I would have realized this was for someone with a different skill set and looked elsewhere.)<\/p>\n<p>I see to get it to ignore the hundreds of unwanted files I just need to create a file called&#8230; <code>.gitignore<\/code>. Damn it. Stupid Windows will allow filenames starting with a period to EXIST, but it won&#8217;t let you CREATE them. (Minecraft has this same problem: the install directory is called .minecraft, which means if you want to backup &#038; restore, you have to COPY files in and out of it, instead of renaming the directory.) You can blame Windows (I do) but the upshot is that <em>I can&#8217;t use this feature on this operating system<\/em>.<\/p>\n<p>I have no idea what Git wants or how it works.  I don&#8217;t see ANYTHING that tells me how to push changes to the remote repository. If doing simple things like &#8220;submit changes&#8221; means using a terminal window, then&#8230; damn. What year is it? I know you Linux coders have a high tolerance for this sort of thing, but damn &#8211; there are better ways of using a computer these days. Case in point: If I had a menu, I would be able to work this out for myself. <\/p>\n<p>So, I&#8217;m willing to put time into this if it means it will be done right.  But if Git is useless to a non-Linux person on a Windows machine, then it&#8217;s time to uninstall this mess and look elsewhere. So how about it? Is it possible to use GitHub with this GUI front end? Can Git work without using a terminal? If Git works on Windows, can someone explain how to go about getting files from here to there?<\/p>\n<p>Sorry to use the community as a search tool, but Google isn&#8217;t helping and I&#8217;d like to know if I&#8217;m wasting my time before I do any more of this.<\/p>\n<p>EDIT: Based on the comments, looks like GitHub is the wrong way to go for me. I&#8217;m going to try out BitBucket.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EDIT: So after spending the better part of an hour trying to make this work, I see a comment from someone pointing me to an old post where I talked about using Mercurial for my project. I sort of vaguely remember looking at Mercurial at some point. I think I installed it? I look, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[234],"class_list":["post-15796","post","type-post","status-publish","format-standard","hentry","category-notices","tag-git"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/15796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15796"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/15796\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}