diff options
-rwxr-xr-x | upd | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -28,6 +28,13 @@ backup () { # Push ka branch to codeberg or any future alternative website for mirroring. Needed for public codes/data, considering my death may result in all copies on my computers being lost. [ "$branch" = ka ] && git push done + # git checkout will change mtime, need to change back so rsync won't think it needs to backup these files + # https://stackoverflow.com/q/1964470/9008720 + # https://stackoverflow.com/q/21735435/9008720 + # https://github.com/MestreLion/git-tools + # aur/git-tools-git + git restore-mtime + ( umask 077 # backup ka cfgl |