- directories starting with "using ..." correspond to the work done using the author's name e.g. "using Voorn-2013" is a directory with work I did using the method published in Voorn 2013.
When attampting to push to github repo, I encountered the following error message
Enumerating objects: 2877, done.
Counting objects: 100% (2877/2877), done.
Delta compression using up to 12 threads
Compressing objects: 100% (2827/2827), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (2877/2877), 1.31 GiB | 2.97 MiB/s, done.
Total 2877 (delta 1720), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
I applied the following solutions:
-
Increasing post buffer
git config http.postBuffer 524288000
-
Downgrading https
git config http.version HTTP/1.1
-
Eventually, applied the following solution
This solution was found here
git rev-list main | while read rev; do git ls-tree -lr $rev | cut -c54- | grep -v '^ '; done | sort -u | perl -e ' while (<>) { chomp; @stuff=split("\t"); $sums{$stuff[1]} += $stuff[0]; } print "$sums{$_} $_\n" for (keys %sums); ' | sort -rn >> large_files.txt
then
git filter-branch --tree-filter 'rm -rf `cat /Users/omaralamoudi/Dropbox/GraduateSchool/PhD/Projects/fracture\ properties/large_files.txt | cut -d " " -f 2` ' --prune-empty main matlab-implementing-mshff
This solution seems to have worked