diff options
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 |