Github, Git commands, and the happiest place on Earth

Posted on August 22, 2015

Github, to the new user, seems just shy of witchcraft. It is pure, terrifying, beautiful magic. Still, the enchanting world of Github can seem less like Walt Disney's fairy-tale land and more like Banksy's disturbing Dismaland. This week, I personally saw the less whimsical side of Github. I know now that certain types of user errors can easily transplant you from Cinderella's castle to the Grim Reaper's dungeon.

...show more...

I begin with some basics. Git and Github help developers manage their work. Simply put, Git – a software – tracks changes made to files on local machines. Developers save, share, modify, and use these files in remote repositories on the social website Github. In other words, Git lives on your computer, whereas Github exists in a distant land: the Internet. Like I said, pure magic.

Moving a file from a local computer to a remote environment entails several steps, or Git commands, which can be categorized into two large actions: commit and push/pull. The road to commitment, so to speak, requires at the very least the following commands:

$git checkout -b [newbranch]

$git status

$git add [file name]

$git commmit -m "[commit message]."

(Read more about these commands here.)

A successful commit in Git is no small task. However, "pull" and "push" require even greater focused concentration. After a commit, the file must be "pushed" to Github. Before doing so, compare the local and remote repositories, checking that they hold the same content. The commands for this process include $git checkout master, which moves you off your current live branch, and, if needed, $git pull, which fetches the changes in your remote repository (i.e., the one on Github) and merges them with your local one. Next, return to the active branch and push commits to Github, using this simple command: $git push origin [branchname]. After which, visit Github to find a pull request ready for action. (The physicality of the language makes these directives all the more vivid: Git pushes, and Github pulls.) Finally, complete the pull request, delete your branch (in Github and Git), and make a final pull request in your terminal. In this concluding step, changes in Github are pulled onto the local master branch, insuring that the files on your computer do not disappear. Taking such steps can determine the difference between "happily ever after" and the death of Snow White and six of the seven dwarfs.

...show less...

Lady Compton's Lover

Posted on August 21, 2015

“[O]nce you start the mental life you pluck the apple. You’ve severed the connexion between the apple and the tree: the organic connexion. And if you’ve got nothing in your life but the mental life, then you yourself are a plucked apple . . . you’ve fallen off the tree.” Tommy Dukes in Lady Chatterley’s Lover by D.H. Lawrence

D.H. Lawrence published Lady Chatterley’s Lover in 1928. The novel features Constance Chatterley, an aristocratic but despairing housewife, who comes to challenge a societal assumption: pursuits of human intellect have nothing to do with primal passion, emotion, or human urges. Great thinkers are “apples” plucked from an organic life source, as her husband’s colleague Tommy Dukes explains during a circular evening conversation with like-minded peers at Wragby, the Chatterley estate.

...show more...

I am an Academic, a scholar, a recipient of many (too many) degrees. For me, the Academy came to seem very much like the living room of Lady Chatterley, wherein beautiful minds discussed global and also local issues, some important, some trivial. As it were, this “living room” of scholars can feel suffocating or dishonest. It obeys so many rules of decorum, imposes unrealistic publishing expectations, and adheres to teaching guidelines dictated by administrators – the sort of things that hinder passionate, creative work.

Lady Chatterley eventually takes a lover and learns to regard her instincts as tightly linked to her mental ability. She opens herself to new physical feelings (sexy, sexy times, of course!), and also she acquires a refreshingly different worldview. At the end of Phase 0, Week 1 of Dev Bootcamp, I feel like Lady Chatterley must have felt as she departed from Wragby. I feel alive, ready to explore new things and experiment with ideas. I am not afraid of making messes. I am not afraid of intangible milestones.

And still, I do fear my inherent self: I have been trained to work slowly, to think things through at a snail’s pace. I think I will likely struggle to work quickly (though that seems to be a mantra here at Dev Bootcamp). I need to buy some cherry tomatoes, some smaller "timeboxes," I suppose. What I do know, at the very least: Dev Bootcamp celebrates the connection between the “apple and the tree,” something that I find comforting, motivating, and worth waking up for.

...show less...