mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 02:16:22 +00:00
parent
14d8ce9af2
commit
ff84423891
1 changed files with 6 additions and 5 deletions
|
@ -194,6 +194,12 @@ class Site
|
||||||
git_sh('git', 'lfs', 'push', remote.name, default_branch)
|
git_sh('git', 'lfs', 'push', remote.name, default_branch)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Hace limpieza de LFS
|
||||||
|
def lfs_cleanup
|
||||||
|
git_sh("git", "lfs", "prune")
|
||||||
|
git_sh("git", "lfs", "dedup")
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @deprecated
|
# @deprecated
|
||||||
|
@ -260,10 +266,5 @@ class Site
|
||||||
|
|
||||||
r&.success?
|
r&.success?
|
||||||
end
|
end
|
||||||
|
|
||||||
def lfs_cleanup
|
|
||||||
git_sh("git", "lfs", "prune")
|
|
||||||
git_sh("git", "lfs", "dedup")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue