Horje
git clone depth Code Example
shallow clone
How to Execute Git Shallow Clone
Provide an argument of -- depth 1 to the git clone command to copy only the latest revision of a repo:

git clone -–depth [depth] [remote-url]
 

You can also use git shallow clone to access a single branch:

git clone [remote-url] --branch [name] --single-branch [folder]
 

With git shallow clone you get fewer files. And as a result, they clone faster. Builds and feedback can be delivered quicker.
git clone depth
$ git clone --depth 1 https://github.com/dogescript/xxxxxxx.git
$ git remote set-branches origin 'remote_branch_name'
$ git fetch --depth 1 origin remote_branch_name
$ git checkout remote_branch_name




Shell

Related
linux instal netmanager Code Example linux instal netmanager Code Example
opencart install extension Invalid file type! Code Example opencart install extension Invalid file type! Code Example
htaccess route all requests to index.php Code Example htaccess route all requests to index.php Code Example
brew1 Code Example brew1 Code Example
tor router raspberry pi Code Example tor router raspberry pi Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14