markdown 从Git克隆

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 从Git克隆相关的知识,希望对你有一定的参考价值。

CLONE

  Perform the clone-to-launch steps with these terminal commands.
  ```
  > git clone https://github.com/angular/quickstart.git quickstart
  > cd quickstart
  > npm install (installs all the necessary node modules)
  > npm start
  ```
  
  
DELETE non-essential files (optional)

  You can quickly delete the non-essential files that concern testing and QuickStart 
  repository maintenance (including all git-related artifacts such as the .git folder and .gitignore!).
  Do this only in the beginning to avoid accidentally deleting your own tests and git setup!
  
  OS/X (bash)
  ```
  > xargs rm -rf < non-essential-files.osx.txt
  > rm src/app/*.spec*.ts
  > rm non-essential-files.osx.txt
  ```
  
  Windows
  ```
  > for /f %i in (non-essential-files.txt) do del %i /F /S /Q
  > rd .git /s /q
  > rd e2e /s /q
  ```

以上是关于markdown 从Git克隆的主要内容,如果未能解决你的问题,请参考以下文章

markdown 使用supmodules的Git克隆

markdown Git一次克隆所有分支

markdown Git克隆只有一个分支

markdown 批量备份和克隆列表中的git存储库

markdown git pull --recurse-submodulesで'请确保你拥有正确的访问权限'となってサブモジュールを克隆できない

markdown 从repo克隆一个文件