• Mac OS X

    Git Quick-start

    Git it easy. It’s a command with some verbs. Let’s start with the init verb, which creates an empty git repository in the working directory (or supply a path after the verb) git init Now let’s touch a file in that directory. Once a new file is there, which that new repo as your working directory, run git  with the status verb: git status Oh look, you now see that you’re “On branch master” – we’ll talk branching later. You see “No commits yet” and hey, what’s that, an Untracked file! Run git with the add verb, and this time you need to specify a file or path (I’ll use…