Skip to main content

Github for Windows - first impressions

The other day I was listening to the recent Hanselminutes about Github for Windows (from now on abbreviated to GhfW), and decided to take it for a spin. I've had my pains explaining people how to set up Git on Windows, and I have pretty high hopes for this tool making it easier.

Dude, where's the frame..
At first I was a bit unsure if it was actually running, and not some popup on the current webpage:

Metro style lack of frame around the application
This is the first Metro style application I've installed, I think. And it didn't take long to like the feel of the application, cause it feels light, smooth and fast. I heard that GhfW can be a real memory hog, but I can't really confirm that here. It starts off taking 50 megs, and then later grows to 120 with a few repos checked out. At the end of writing this blog post it's at 200 megs.

But I already have Git set up
Now, my Windows is already set up to use Git, so I was a bit surprised to see that after logging in, I have to configure my full name and email. And GhW also automatically generates a new key which it authorizes at Github, even though I already have one set up. I guess that GhfW uses an isolated "We'll make everything just work (tm) for you" configuration somewhere, and I can see the reasoning for that.

It scans my homedir for repositories and prompts to import them, that's nice. Some of my local repos aren't hosted on Github, and it's nice to see that you can use GhfW for other repos as well, but I have no idea if my existing SSH-key authentication will work.

After importing some repos initially, I can't figure out how to import further repos. There's probably a button for it somewhere, but I can't find it.

Where are the buttons?
After playing around for a few minutes, this is a recurring thing for me in this modern Metro style interface:  I look around for a good few seconds before I find the button for what I want to do. It's just too unclear to me what is actually clickable, and what are just text or icons. Actually most text and icons are clickable, but my brain just doesn't cope with that yet.

A little later: Eureka! In order to import another repo, I have to drag it in from Explorer! I got that instruction by entering some text into the repository filter. See, that's what I mean.

FInally got a hint on how to import more repos
Some things can be right-clicked (repos, local changes), many cannot (commits). It takes a lot of clicking around to figure these things out.. Couldn't they build some conventions into the color scheme or something like that?

I wonder if the designers have done any usability tests on this..

Bugginess
I noticed a few bugs at first, like cryptic failure messages when pushing fails in mis-configured repos, and double-clicking below the list of repos will open the top one.

Then it got a bit nasty: I manage to land in a state where GhfW says the work tree is clean. Then it complains when I try to check out a branch, and shows me there are uncommitted changes (looks like there's some problems going on with line ending conversion there).

No local changes (background), but you have changes.
So I drop back to the command-line to fix up the repo, do a hard reset, then back into GhfW, just to see that it immediately has changes. And the changes do not match the git diff from the command-line. What the...

So, it could be that my installation is a bit messed up because of my existing .git settings or something like that, cause I don't think they would've shipped it everyone are having these problems.

The situation above occurred in a repo where I had worked with Windows line-endings checked in, and it could be that this conflicted a bit with how GhfW wanted to work things. They don't prompt you on how to handle line-endings during installation, so they must have some smart way of handling that, and maybe that failed in this situation.

Summary
I really like the rationale behind GhfW, which is making it super easy to get started with Git for Windows users. It certainly is easy to install, start new repos, and get them in and out of Github. And they also do install a Git command line, in case you want to go beyond the GUI.

The GUI is really nice, but it takes a bit of getting used to if you are new to Metro, I suppose.

For me, it feels a bit too buggy still, and a bit too alien that I could just recommend it to a complete Git newb, even if it was rock stable.

I suspect that they are aiming this product for a user group (I'm guessing suits in companies that buy Github's enterprise stuff) who will not be able to figure it out, and they need to do some usability testing here.

There are some more interesting notes on the design on Github's blog.

Comments

  1. We've tried to use this on the Enyo team but have been hitting some of the same problems involving phantom changes. I suspect that libgit just isn't baked enough on Windows. I like the idea, but it needs a lot of polish; for now, I'm sticking with TortoiseGit.

    ReplyDelete
  2. Thanks for the comment. Interesting that you see the same phantom changes.. Could you check if this might have something to do with line endings?

    Does this occur in repositories that you have checked out using GhfW, or were they already checked out using TortoiseGit (and if so, what was the core.autocrlf setting)?

    ReplyDelete

Post a Comment

Popular posts from this blog

Open source CMS evaluations

I have now seen three more or less serious open source CMS reviews. First guy to hit the field was Matt Raible ( 1 2 3 4 ), ending up with Drupal , Joomla , Magnolia , OpenCms and MeshCMS being runner-ups. Then there is OpenAdvantage that tries out a handful ( Drupal , Exponent CMS , Lenya , Mambo , and Silva ), including Plone which they use for their own site (funny/annoying that the entire site has no RSS-feeds, nor is it possible to comment on the articles), following Matt's approach by exluding many CMS that seem not to fit the criteria. It is somewhat strange that OpenAdvantage cuts away Magnolia because it "Requires J2EE server; difficult to install and configure; more of a framework than CMS", and proceed to include Apache Lenya in the full evaluation. Magnolia does not require a J2EE server. It runs on Tomcat just like Lenya does (maybe it's an idea to bundle Magnolia with Jetty to make it seem more lightweight). I'm still sure that OpenAdvant

Considerations for JavaScript in Modern (2013) Java/Maven Projects

Disclaimer: I'm a Java developer, not a JavaScript developer. This is just what I've picked up the last years plus a little research the last days. It's just a snapshot of my current knowledge and opinions on the day of writing, apt to change over the next weeks/months. We've gone all modern in our web applications, doing MVC on the client side with AngularJS or Ember , building single-page webapps with REST backends. But how are we managing the growing amount of JavaScript in our application? Yeoman 's logo (not necessarily the conclusion of this blog post) You ain't in Kansas anymore So far we've just been doing half-random stuff. We download some version of a library and throw it into our src/main/webapp/js/lib , or we use it from a CDN , which may be down or unreachable when we want to use the application.. Some times the JS is minified, other times it's not. Some times we name the file with version number, other times without. Some

Git Stash Blooper (Could not restore untracked files from stash)

The other day I accidentally did a git stash -a , which means it stashes *everything*, including ignored output files (target, build, classes, etc). Ooooops.. What I meant to do was git stash -u , meaning stash modifications plus untracked new files. Anyhows, I ended up with a big fat stash I couldn't get back out. Each time I tried, I got something like this: .../target/temp/dozer.jar already exists, no checkout .../target/temp/core.jar already exists, no checkout .../target/temp/joda-time.jar already exists, no checkout .../target/foo.war already exists, no checkout Could not restore untracked files from stash No matter how I tried checking out different revisions (like the one where I actually made the stash), or using --force, I got the same error. Now these were one of those "keep cool for a second, there's a git way to fix this"situation. I figured: A stash is basically a commit. If we look at my recent commits using   git log --graph --

Managing dot-files with vcsh and myrepos

Say I want to get my dot-files out on a new computer. Here's what I do: # install vcsh & myrepos via apt/brew/etc vcsh clone https://github.com/tfnico/config-mr.git mr mr update Done! All dot-files are ready to use and in place. No deploy command, no linking up symlinks to the files . No checking/out in my entire home directory as a Git repository. Yet, all my dot-files are neatly kept in fine-grained repositories, and any changes I make are immediately ready to be committed: config-atom.git     -> ~/.atom/* config-mr.git     -> ~/.mrconfig     -> ~/.config/mr/* config-tmuxinator.git       -> ~/.tmuxinator/* config-vim.git     -> ~/.vimrc     -> ~/.vim/* config-bin.git        -> ~/bin/* config-git.git               -> ~/.gitconfig config-tmux.git       -> ~/.tmux.conf     config-zsh.git     -> ~/.zshrc How can this be? The key here is to use vcsh to keep track of your dot-files, and its partner myrepos/mr for o

Leaving eyeo

Thirteen blog posts later, this one notes my departure from eyeo after 4 years and 3 months. I joined eyeo around the headcount of 80 employees, and now I think there's just over 250 people there. My role coming in was as operations manager, doing a mix of infrastructure engineering and technical project management. I later on took on organizational development to help the company deal with its growing pains . We introduced cross-functional teams, departments (kind of like guilds), new leadership structures, goal-setting frameworks, onboarding processes and career frameworks.  And all of this in a rapidly growing distributed company. I'm proud and happy that for a long time I knew every employee by name and got to meet every single new-hire through training them on company structure and processes.  At some point, we had enough experienced leaders and organizational developers that I could zoom back in on working in one team, consulting them on  Git and continuous integration