mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
docs: suggest shallow clone in git-archive.md
we should be suggesting to make a shallow clone to reduce the amount of data that is being transferred initially Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
30e72d2db5
commit
137644e919
1 changed files with 3 additions and 3 deletions
|
@ -24,10 +24,10 @@ configurations.
|
|||
|
||||
## Fetch/Update Archives
|
||||
|
||||
When a client has not yet fetched any initial archives, they should clone
|
||||
the repository:
|
||||
When a client has not yet fetched any initial archives, they should
|
||||
shallow-clone the repository:
|
||||
|
||||
$ git clone https://aur.archlinux.org/archive.git aurweb-archive
|
||||
$ git clone --depth=1 https://aur.archlinux.org/archive.git aurweb-archive
|
||||
|
||||
When updating, the repository is already cloned and changes need to be pulled
|
||||
from remote:
|
||||
|
|
Loading…
Add table
Reference in a new issue