先安装win10 14393 以上的系统
控制面板中安装bash子系统
win + R 打开cmd回车
Microsoft Windows [版本 10.0.14393]
(c) 2016 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>bash
先安装git
sudo apt-get install git
git安装完后用 git clone 下载代码 ,可以避免网页上直接下载还要输入验证码的麻烦
dsg@DESKTOP-0KLDAEH:/mnt/c/Users/Administrator$ git clone https://git.oschina.net/handashuai/Windows-universal-samples.git
Cloning into 'Windows-universal-samples'...
remote: Counting objects: 23442, done.
remote: Compressing objects: 100% (10012/10012), done.
remote: Total 23442 (delta 13766), reused 22785 (delta 13142)
Receiving objects: 100% (23442/23442), 22.44 MiB | 230.00 KiB/s, done.
Resolving deltas: 100% (13766/13766), done.
Checking connectivity... done.
Checking out files: 100% (10111/10111), done.
网友评论