C:\Users\user name\Desktop>sparse_checkout.bat

C:\Users\user name\Desktop>pushd "C:\Users\user name\Desktop\"

C:\Users\user name\Desktop>if not exist .\ms-server-essentials-docs

mkdir .\ms-server-essentials-docs

C:\Users\user name\Desktop>pushd .\ms-server-essentials-docs

C:\Users\user name\Desktop\ms-server-essentials-docs>git init

Initialized empty Git repository in C:/Users/user

name/Desktop/ms-server-essentials-docs/.git/

C:\Users\user name\Desktop\ms-server-essentials-docs>git remote add

origin -f https://github.com/MicrosoftDocs/windowsserverdocs.git

Updating origin remote: Enumerating objects: 97, done. remote:

Counting objects: 100% (97/97), done. remote: Compressing objects:

100% (44/44), done. remote: Total 145517 (delta 63), reused 76 (delta

53), pack-reused 145420 Receiving objects: 100% (145517/145517),

751.33 MiB | 32.06 MiB/s, done. Resolving deltas: 100% (102110/102110), done. From

https://github.com/MicrosoftDocs/windowsserverdocs * [new branch]

1106-conflict -> origin/1106-conflict * [new branch]

FromPrivateRepo -> origin/FromPrivateRepo * [new branch]

PR183 -> origin/PR183 * [new branch]

conflictfix -> origin/conflictfix * [new branch]

eross-msft-patch-1 -> origin/eross-msft-patch-1 * [new branch]

master -> origin/master * [new branch] patch-1

-> origin/patch-1 * [new branch] repo_sync_working_branch -> origin/repo_sync_working_branch * [new branch]

shortpatti-patch-1 -> origin/shortpatti-patch-1 * [new branch]

shortpatti-patch-2 -> origin/shortpatti-patch-2 * [new branch]

shortpatti-patch-3 -> origin/shortpatti-patch-3 * [new branch]

shortpatti-patch-4 -> origin/shortpatti-patch-4 * [new branch]

shortpatti-patch-5 -> origin/shortpatti-patch-5 * [new branch]

shortpatti-patch-6 -> origin/shortpatti-patch-6 * [new branch]

shortpatti-patch-7 -> origin/shortpatti-patch-7 * [new branch]

shortpatti-patch-8 -> origin/shortpatti-patch-8

C:\Users\user name\Desktop\ms-server-essentials-docs>git config

core.sparseCheckout true

C:\Users\user name\Desktop\ms-server-essentials-docs>(echo

EssentialsDocs ) 1>>.git\info\sparse-checkout

C:\Users\user name\Desktop\ms-server-essentials-docs>git pull origin

master

From https://github.com/MicrosoftDocs/windowsserverdocs

* branch master -> FETCH_HEAD

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐