How to be the guy in “git.txt” (Part 2)

A few months ago, I made a blog post called ‘How to be the guy in “git.txt,”’ referencing the mouseover text of a certain xkcd comic. Here I’d like to expand on that and provide more useful resources.

  1. First, read this tutorial. It discusses different workflows you might use with Git, building up from simpler to more complex workflows. It helps you to understand the idea behind what you’re learning before you really plunge into it.
  2. Next, I again recommend Pro Git, a free online book on how to use Git. You don’t have to commit to reading the whole thing, but just skimming the first 3 chapters can make you much more knowledgeable about Git.
  3. Search the web. Seriously. If you have a question about Git, chances are that someone has already asked it (on StackOverflow, probably). You can learn a lot just by wondering, “How do I do this in Git?” then looking it up. (This really goes for any programming tool.)
  4. man git. I wouldn’t recommend using man pages to learn Git, but they are very useful as a reference. To view the manual page for a specific git command, for example, git merge, use git help merge.
  5. Lastly, I’ll leave you with a cheat sheet I found.

Interesting Workshop — Free! End of April. Register now.

This year we are repeating the AT&T IoT and IFTTT Coding Workshops 4 times – the content is identical, so chose the one that works best for you.

Session 1: Wednesday afternoon, April 20

When: 12 – 4 p.m. (registration & lunch 12 – 1, workshop 1 – 4)

Register: http://devlab-plano-afternoon-20160320.eventbrite.com/?aff=muip

Session 2: Wednesday evening, April 20

When: 5 – 9 p.m. (registration & dinner 5 – 6, workshop 6 – 9)

Register: http://devlab-plano-evening-20160320.eventbrite.com/?aff=muip

Session 3: Thursday afternoon, April 21

When: 12 – 4 p.m. (registration & lunch 12 – 1, workshop 1 – 4)

Register: http://devlab-plano-afternoon-20160321.eventbrite.com/?aff=muip

Session 4: Thursday evening, April 21

When: 5 – 9 p.m. (registration & dinner 5 – 6, workshop 6 – 9)

Register: http://devlab-plano-evening-20160321.eventbrite.com/?aff=muip

(All sessions are the same.)

Free and open to everyone. Note that you must register on Eventbrite (links above)

Additional Info:

Excited by the Internet of Things (IoT)? Interested in learning about IFTTT (If This Then That)? Then join the AT&T Developer Program and Texas Instruments as we expand on last year’s IoT DevLab Coding Workshop. This year we have added labs on IFTTT and AT&T Flow Designer (a web-based development environment for designing, building, and deploying IoT solutions). In addition, TI will join us to talk about hardware solutions in the world of IoT.

Attendance at last year’s DevLab is not required to participate in this year’s event.

This year we will be using the TI MSP432 LaunchPad and CC3100 SimpleLink Wi-Fi BoosterPack Internet-connected development boards – yours to keep – for our lab exercises. An extra perk? Attendees will be entered in drawings for a TI Educational BoosterPack MKII and a CC2650 SensorTag Bluetooth kit!

This is a 3-hour, hands-on coding workshop in which AT&T and Texas Instruments subject matter experts show you how to work with Internet-enabled devices then provide help as you go through coding examples yourself.

http://udallas.edu/offices/registrar/academiccalendar.php
The event is free and we will be serving dinner. So bring your Windows or Mac laptop and join us for an afternoon of learning, coding, socializing, and eating!

Tools: Using Postman, cURL, and JavaScript for the lab exercises. More technical details on the Eventbrite registration site. So bring your laptop and join AT&T, Girl Develop It Chicago, and TI for an afternoon or evening of learning, coding, socializing, and eating!

Seating is limited so sign up soon. (Note that the content of all workshops is the same.)

Tech EdVentures is hiring for the summer

See:

https://launchdfw.switchboardhq.com/posts/17683?source=weekly_digest

Tech EdVentures teaches engineering, coding and design to kids in grades K-8. Now in our third year of operations, we are experiencing dramatic growth.
We currently have openings for summer staff between May 31 and Aug 19. For details see our website.
We are also looking for undergraduates/grad students at UTA, UTD, DBU and SMU to help us recruit staffing for summer and year-round programs.

 

How to be the guy in “git.txt”

I’ve started shying away from graphical Git clients like GitHub Desktop recently. While they’re great for beginners and make visualizing the repository history easy, I wouldn’t want to be dependent on them and be lost when working on a machine that doesn’t have them installed or a remote server via SSH.

The title, for those who don’t know, is a reference to the hover text on xkcd: Git. How can you get to be that person? Check out this flowchart from http://justinhileman.info/article/git-pretty/:

Git flowchart

Of course, this flowchart doesn’t cover everything, and, unlike the guy whose phone number is in git.txt, it doesn’t really talk about branches. You’ll still be lost if you run into merge conflicts, for example. It does, however, cover a few common issues you might run into, like adding a file to your last commit or fixing a commit message (assuming you haven’t pushed/synced). To really master Git, check out the book here: https://git-scm.com/documentation. Also, remember to write better commit messages than these!