[ Content | View menu ]

Git Info

Mark Mzyk February 29, 2012

Git info is a bash script I wrote that searches for git repositories with modified files and returns a list of the modified files and current branch name. It searches one level deep in subdirectories of the directory it is invoked in. It’s useful if you collect a bunch of git repos in one master […]

Checking out a branch from Github

Mark Mzyk December 7, 2011

These are the set of commands to checkout a branch of a repository from Github, which is not immediately obvious the first time you try it. First clone the repo if you haven’t: git clone url-to-repo-you-want Clone has already checked out the branches, but it only initially creates the master branch. You have to tell […]