Skip to content

Instantly share code, notes, and snippets.

@viktorkelemen
Created March 6, 2013 18:27
Show Gist options
  • Select an option

  • Save viktorkelemen/5101763 to your computer and use it in GitHub Desktop.

Select an option

Save viktorkelemen/5101763 to your computer and use it in GitHub Desktop.
Git checkout the 2-week-ago state of master
git checkout $(git rev-list -n1 --before="2 weeks ago" master)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment