{"id":968,"date":"2015-08-13T10:06:44","date_gmt":"2015-08-13T17:06:44","guid":{"rendered":"http:\/\/breanneboland.com\/blog\/?p=968"},"modified":"2015-08-13T07:40:45","modified_gmt":"2015-08-13T14:40:45","slug":"git-status-add-commit-git-status-add-commit-git-status","status":"publish","type":"post","link":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/","title":{"rendered":"git status-add-commit, git status-add-commit, git status&#8230;"},"content":{"rendered":"<figure id=\"attachment_986\" aria-describedby=\"caption-attachment-986\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-986\" src=\"http:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png\" alt=\"We had a field trip to learn about Firebase at the Google office last week. The presentation was great, but then... this view, this view. Mmph.\" width=\"1000\" height=\"750\" srcset=\"https:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png 1000w, https:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google-300x225.png 300w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption id=\"caption-attachment-986\" class=\"wp-caption-text\">We had a field trip to learn about Firebase at the Google office last week. The presentation was great, but then&#8230; this view, this view. Mmph.<\/figcaption><\/figure>\n<p>Consider this picture your moment of zen. We&#8217;re about to dive into nightmare territory.<\/p>\n<p>In the first week of class, I was pair programming, and we&#8217;d reached the point (one of fairly dozens that day) of editing and troubleshooting. We use Sublime Text 2, something I&#8217;m fairly used to at this point; what I wasn&#8217;t used to was Ubuntu. I hit an F key without meaning to; suddenly, our window maximized, and neither double-clicking nor dragging the top bar of the window down made it shrink. The maximized Sublime stared at us from\u00a0two mirrored monitors, waiting.<\/p>\n<p>So I began tapping the F keys again, one by one, thinking it would ultimately undo what I&#8217;d done, and I might learn a couple shortcuts\u00a0too. This is a practice that has served me fairly well for the last 20-odd years, with not a casualty to speak of.<\/p>\n<p>Til that day, anyway.<\/p>\n<p>Somewhere around F-8 or F-9, all of our lines\u00a0of code rearranged themselves. Instead of our 40-plus lines\u00a0of tidily indented work, they had formed a perverse pyramid, blank rows at the top, and the rest below in order of descending\u00a0indentation, alphabetized within those length blocks. Under the edit menu,\u00a0<em>undo\u00a0<\/em>was greyed out.<\/p>\n<p>I think &#8211; I\u00a0<em>think<\/em>\u00a0&#8211; that I managed not to actually say &#8220;What even the fuck?&#8221; in front of my pair. (We were all still using people manners then; now there&#8217;s a post-it in one of the bathrooms telling you to drink more water, lest you get constipated, a problematic situation the post-it writer\u00a0<em>knows very well<\/em>, ok?)<\/p>\n<p>I called over my advisor, explained the situation, and watched as she tried a few of my steps again. No undo. No solution. Nothing.<\/p>\n<p>She frowned and said words that were not meant to be an indictment but were nonetheless: <i>when was the last time you committed?<\/i><\/p>\n<p>It was about 5:50 pm. We&#8217;d last committed after we&#8217;d finished our last exercise. You know, at 1 pm.<\/p>\n<p>&#8220;Well,&#8221; she said finally, rising from the keyboard. &#8220;You learned something.&#8221;<\/p>\n<p>&#8220;I did,&#8221; I told her. &#8220;And I&#8217;m not &#8211; well, I&#8217;m not proud. But it&#8217;s not often that a person really manages to break something beyond repair with computers. It&#8217;s&#8230; notable.&#8221;<\/p>\n<p>She shrugged and went to help less hapless people. I apologized profusely to my pair, who was altogether lovely about it.<\/p>\n<p>I thought for a moment and closed Sublime. I counted to three and reopened it.<\/p>\n<p>Our properly ordered, fully functional Python file was restored.<\/p>\n<p>I&#8217;m not sure I took a whole breath in before I completed a commit on it. And now I, like all of us in our time, am a committing zealot. Early, often, excessively.<\/p>\n<p>I don&#8217;t recommend <em>being<\/em> an anxious person. But for certain qualities? I totally recommend <em>hiring<\/em> them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Consider this picture your moment of zen. We&#8217;re about to dive into nightmare territory. In the first week of class, I was pair programming, and we&#8217;d reached the point (one of fairly dozens that day) of editing and troubleshooting. We use Sublime Text 2, something I&#8217;m fairly used to at this point; what I wasn&#8217;t &hellip; <a href=\"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">git status-add-commit, git status-add-commit, git status&#8230;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[178],"tags":[190,181,189,200,187],"class_list":["post-968","post","type-post","status-publish","format-standard","hentry","category-hackbright","tag-git","tag-hackbright","tag-just-push-all-the-keys","tag-one-of-the-few-virtues-of-anxiety","tag-pair-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>git status-add-commit, git status-add-commit, git status... - Breanne Boland<\/title>\n<meta name=\"description\" content=\"In which I hit the wrong button, cannot hit the right button, and find myself facing a pile of neatly, uselessly organized lines of code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"git status-add-commit, git status-add-commit, git status... - Breanne Boland\" \/>\n<meta property=\"og:description\" content=\"In which I hit the wrong button, cannot hit the right button, and find myself facing a pile of neatly, uselessly organized lines of code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/\" \/>\n<meta property=\"og:site_name\" content=\"Breanne Boland\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-13T17:06:44+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\"},\"headline\":\"git status-add-commit, git status-add-commit, git status&#8230;\",\"datePublished\":\"2015-08-13T17:06:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/\"},\"wordCount\":516,\"publisher\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\"},\"image\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/view-from-google.png\",\"keywords\":[\"git\",\"hackbright\",\"just push all the keys\",\"one of the few virtues of anxiety\",\"pair programming\"],\"articleSection\":[\"Hackbright\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/\",\"url\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/\",\"name\":\"git status-add-commit, git status-add-commit, git status... - Breanne Boland\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/view-from-google.png\",\"datePublished\":\"2015-08-13T17:06:44+00:00\",\"description\":\"In which I hit the wrong button, cannot hit the right button, and find myself facing a pile of neatly, uselessly organized lines of code.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/#primaryimage\",\"url\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/view-from-google.png\",\"contentUrl\":\"http:\\\/\\\/breanneboland.com\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/view-from-google.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/2015\\\/08\\\/13\\\/git-status-add-commit-git-status-add-commit-git-status\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"git status-add-commit, git status-add-commit, git status&#8230;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/\",\"name\":\"Breanne Boland\",\"description\":\"Appsec engineer, SRE, writer, UX, endless questions mostly\",\"publisher\":{\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/breanneboland.com\\\/blog\\\/#\\\/schema\\\/person\\\/7b8ba109de56e2b80e0773753109c1ce\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\",\"caption\":\"admin\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"git status-add-commit, git status-add-commit, git status... - Breanne Boland","description":"In which I hit the wrong button, cannot hit the right button, and find myself facing a pile of neatly, uselessly organized lines of code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/","og_locale":"en_US","og_type":"article","og_title":"git status-add-commit, git status-add-commit, git status... - Breanne Boland","og_description":"In which I hit the wrong button, cannot hit the right button, and find myself facing a pile of neatly, uselessly organized lines of code.","og_url":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/","og_site_name":"Breanne Boland","article_published_time":"2015-08-13T17:06:44+00:00","og_image":[{"url":"http:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/#article","isPartOf":{"@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/"},"author":{"name":"admin","@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce"},"headline":"git status-add-commit, git status-add-commit, git status&#8230;","datePublished":"2015-08-13T17:06:44+00:00","mainEntityOfPage":{"@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/"},"wordCount":516,"publisher":{"@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce"},"image":{"@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/#primaryimage"},"thumbnailUrl":"http:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png","keywords":["git","hackbright","just push all the keys","one of the few virtues of anxiety","pair programming"],"articleSection":["Hackbright"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/","url":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/","name":"git status-add-commit, git status-add-commit, git status... - Breanne Boland","isPartOf":{"@id":"https:\/\/breanneboland.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/#primaryimage"},"image":{"@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/#primaryimage"},"thumbnailUrl":"http:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png","datePublished":"2015-08-13T17:06:44+00:00","description":"In which I hit the wrong button, cannot hit the right button, and find myself facing a pile of neatly, uselessly organized lines of code.","breadcrumb":{"@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/#primaryimage","url":"http:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png","contentUrl":"http:\/\/breanneboland.com\/wp-content\/uploads\/2015\/08\/view-from-google.png"},{"@type":"BreadcrumbList","@id":"https:\/\/breanneboland.com\/blog\/2015\/08\/13\/git-status-add-commit-git-status-add-commit-git-status\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/breanneboland.com\/blog\/"},{"@type":"ListItem","position":2,"name":"git status-add-commit, git status-add-commit, git status&#8230;"}]},{"@type":"WebSite","@id":"https:\/\/breanneboland.com\/blog\/#website","url":"https:\/\/breanneboland.com\/blog\/","name":"Breanne Boland","description":"Appsec engineer, SRE, writer, UX, endless questions mostly","publisher":{"@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/breanneboland.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/breanneboland.com\/blog\/#\/schema\/person\/7b8ba109de56e2b80e0773753109c1ce","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g","caption":"admin"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/764113b6dca6b6cee982a9f690f5c44d6166de3996e918649e2bafb27cd4c8bf?s=96&d=blank&r=g"}}]}},"_links":{"self":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts\/968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/comments?post=968"}],"version-history":[{"count":4,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts\/968\/revisions"}],"predecessor-version":[{"id":998,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/posts\/968\/revisions\/998"}],"wp:attachment":[{"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/media?parent=968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/categories?post=968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/breanneboland.com\/blog\/wp-json\/wp\/v2\/tags?post=968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}