从github上下载代码到本地

这里从有了账号和下载了git之后说起:

在目的文件夹下右键点击Git Bash Here 打开下面窗口:

如图依次输入命令行并回车:

  $ git config --global user.name "name"

  $ git config --global user.email "email"

  $ git init

  $ git remote add origin https://github.com/Bilibili/flv.js.git

  $ git clone https://github.com/Bilibili/flv.js.git 

完成

猜你喜欢

转载自www.cnblogs.com/cao-zhen/p/9259959.html
今日推荐