gobo

git subdirectories

Mar 29th, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. git init
  2. git remote add origin https://github.com/opscode/cookbooks.git
  3. git config core.sparsecheckout true
  4. echo nginx/ >> .git/info/sparse-checkout
  5. git pull origin master
Advertisement
Add Comment
Please, Sign In to add comment