mirror of
https://codeberg.org/yuukixyz/taiko-web-db.git
synced 2024-10-22 11:05:43 +02:00
8 lines
394 B
Bash
8 lines
394 B
Bash
#!/bin/bash
|
|
|
|
docker exec -i --user=git forgejo /bin/bash -c "cd /data/git/repositories/yuuki/taiko-mongo-realtime.git && git reflog expire --expire-unreachable=now --all"
|
|
docker exec -i --user=git forgejo /bin/bash -c "cd /data/git/repositories/yuuki/taiko-mongo-realtime.git && git gc --aggressive --prune=now"
|
|
|
|
git reflog expire --expire-unreachable=now --all
|
|
git gc --aggressive --prune=now
|