File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -89,3 +89,13 @@ rclone
89
89
typeof
90
90
chmod
91
91
gitignore
92
+ coreutils
93
+ differencing
94
+ distros
95
+ fi
96
+ gc'd
97
+ luckyBackup
98
+ mybabackup
99
+ reencrypt
100
+ Reencrypt
101
+ txt
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ you find widely-applicable and useful.
299
299
Git saves whole file snapshots and doesn't do any in-file or within-file
300
300
or across-file deduplication, so it's not well-suited to automatic continual backing up
301
301
of databases (i.e. large binaries) that change often,
302
- unless both repos are also regularly squashed, pruned and gc'd.
302
+ unless both repos are also regularly squashed, pruned and < abbr title = " garbage collected " > gc'd</ abbr > .
303
303
304
304
However, while git repositories bloat when commiting such large binary and media files,
305
305
** _ myba_ only ever uses sparse-checkout** , keeping overhead disk space use to a minimum.
@@ -339,8 +339,8 @@ one could e.g. do:
339
339
#! /bin/sh
340
340
wt=" $GIT_WORK_TREE "
341
341
if git diff --cached --name-only | grep -q ' ^Music/' ; then
342
- ls -lR " $wt /path_of_interest" > " $wt /mylist .txt"
343
- git add " $wt /mylist .txt" # Will be committed
342
+ ls -l -R " $wt /path_of_interest" > " $wt /my_list .txt"
343
+ git add " $wt /my_list .txt" # Will be committed
344
344
fi
345
345
```
346
346
You can’t perform that action at this time.
0 commit comments