Skip to content

Instantly share code, notes, and snippets.

@dipeshhkc
Last active August 30, 2020 17:03
Show Gist options
  • Save dipeshhkc/94eee9836989cf4a33e3af7d19a6717a to your computer and use it in GitHub Desktop.
Save dipeshhkc/94eee9836989cf4a33e3af7d19a6717a to your computer and use it in GitHub Desktop.
git config core.sparsecheckout true
echo [dirname] >> .git/info/sparse-checkout
git remote add -f origin [main-github-repo-url]
git pull origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment