Copy repo using rsync
This commit is contained in:
parent
5851825a21
commit
a761514d2a
1 changed files with 1 additions and 3 deletions
|
@ -6,7 +6,5 @@ begin
|
|||
git -C "$dir" diff HEAD | git -C "$target" apply --allow-empty &> /dev/null
|
||||
|
||||
and git -C "$dir" ls-files --exclude-standard --others | \
|
||||
while read file
|
||||
and cp "$dir/$file" "$target/$file"
|
||||
end
|
||||
rsync --files-from=/dev/stdin "$dir" "$target"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue