Skip to content

Instantly share code, notes, and snippets.

@anaran
Created September 15, 2014 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anaran/4ffa2a2e28aa4359cf16 to your computer and use it in GitHub Desktop.
Save anaran/4ffa2a2e28aa4359cf16 to your computer and use it in GitHub Desktop.
Sparse checkout for contributions to small portions of huge repositories
6012 20140720T013413+0200 git pull origin master
6011 20140720T013400+0200 echo "README.rst" >> .git/info/sparse-checkout
6010 20140720T013319+0200 git config core.sparsecheckout true
6009 20140720T013259+0200 git remote add origin https://github.com/anaran/olympia
6007 20140720T013213+0200 cd olympia
6006 20140720T013209+0200 git init olympia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment