Skip to content

Instantly share code, notes, and snippets.

@sjl
Created April 8, 2013 19:10
Show Gist options
  • Save sjl/5339563 to your computer and use it in GitHub Desktop.
Save sjl/5339563 to your computer and use it in GitHub Desktop.
things git checkout can do
* update your working directory's parent to a given branch (and update the files)
* create a new branch (and switch to it)
* update the contents of files to reflect their contents at a given cset
* update the contents of files to reflect their contents in the index
* resolve merge conflicts with `--ours` and `--theirs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment