65 lines
1.9 KiB
Markdown
65 lines
1.9 KiB
Markdown
# Portfolio
|
|
|
|
All my public sourcecode and binaries(apk, ubuntu binaries, freebsd binaries and w10+ when possible) thow conan repositories
|
|
|
|
|
|
[Git Flow Srategie in use]( GIT_FLOW_STRATEGIE.md)
|
|
|
|
* note:
|
|
* no Unity3D will be provide due to licensing and no native port for freebsd
|
|
* start migrate moste of c++ source code to cmake+ conan + wxwidget for licensing purpose
|
|
|
|
---
|
|
|
|
## Demo video
|
|
|
|

|
|
|
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/c1LhcVIl7nE?si=nADLH0xdRI217ZMY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
|
|
|

|
|
|
|

|
|
|
|

|
|
|
|

|
|
|
|

|
|
|
|
#Using Sparse Checkout
|
|
|
|
Sparse checkout allows you to check out only part of the working directory. This is particularly useful for large repositories where you only need a specific subdirectory.
|
|
Step 1: Initialize the Repository
|
|
|
|
First, clone the repository with the --no-checkout option to avoid checking out the files immediately.
|
|
|
|
```sh
|
|
git clone --no-checkout <repository-url>
|
|
cd <repository-directory>
|
|
```
|
|
|
|
Step 2: Enable Sparse Checkout
|
|
|
|
Configure Git to enable sparse checkout.
|
|
```sh
|
|
git sparse-checkout init
|
|
```
|
|
|
|
Step 3: Define the Subdirectory
|
|
|
|
Specify the subdirectory you want to clone. For example, if you want to clone the ``` cpp ``` subdirectory:
|
|
|
|
```sh
|
|
git sparse-checkout set cpp
|
|
```
|
|
|
|
Step 4: Checkout the Subdirectory
|
|
|
|
Now, checkout the repository. Only the specified subdirectory will be checked out.
|
|
|
|
```sh
|
|
git checkout main
|
|
```
|
|
|
|
Replace main with the appropriate branch name if it differs. |