Skip to content

Instantly share code, notes, and snippets.

@PiBa-NL
Created April 1, 2017 16:49
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 PiBa-NL/d179488ad81305e7b6421642bdaa3113 to your computer and use it in GitHub Desktop.
Save PiBa-NL/d179488ad81305e7b6421642bdaa3113 to your computer and use it in GitHub Desktop.
how to checkout freebsd ports on windows
Windows has problems with files containing special characters so some files cannot be checked out.
To work around most of the problems with this a sparse checkout can be done.
This does asume you dont need to patch those specific files as that wont work this way...
Enable sparse-checkout:
git config core.sparsecheckout true
Make a file .git\info\sparse-checkout with the folowing content:
!japanese/prn
!*:*
!/*:*
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment