diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-11-29 20:21:51 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-11-29 20:21:51 -0800 |
commit | e053fc676dc934f2f9f57f6cab567cf460457344 (patch) | |
tree | d4baba5031c3443c63891fa4b4072e5778b59e40 /home/xyz/.local | |
parent | 89c5122e948c1d17d36274f1e5a5f5d5c708fdf3 (diff) |
update
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-x | home/xyz/.local/bin/upd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 0b13b8ee..87fa3f86 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -10,6 +10,8 @@ all () { backup () { # pull repos and branches from studio, so duplicity will backup to ka, for one more backup for 321 backup rule + # cfgl master and pp branches already satisfy 321 rule. Here are three copies: 1. master/pp, 2. studio, 3. gitlab or alternative + # But I still copy those on insp because one more copy will not hurt. And all my other data stil satisfy 3 copies without backup to gitlab, so why left out cfgl? Also it may be nice if I what to use that local dir for searching things. git -C "$HOME/programs/config_local_arch" checkout master git -C "$HOME/programs/config_local_arch" pull git -C "$HOME/programs/config_local_arch" checkout pp @@ -18,7 +20,7 @@ backup () { git -C "$HOME/programs/config_local_arch" pull git -C "$HOME/programs/config_local_arch" checkout ka git -C "$HOME/programs/config_local_arch" pull - # push ka branch to gitlab, delete this after ditch gitlab + # Push ka branch to gitlab 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. git -C "$HOME/programs/config_local_arch" push ( umask 077 |