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!

Advertisements

One thought on “How to be the guy in “git.txt”

  1. Pingback: How to be the guy in “git.txt” (Part 2) | University of Dallas Computer Science

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s