I am automating upgit with powershell and the upload process is extremely slow.
My connection to GitHub through the browser is lightning fast, and when I push my repositories from the git command-line it's also very fast. I don't see why upgit is struggling here.
For instance, I just passed it about 20 SVG files at about 1-2KB per file, and it took something like 40 seconds to complete.
Also, when I pass it a large volume of files, many fail to upload. I'm not sure what the cause is.
So, my question is how to configure the "replacements" option:
# If your network access to Github is abnormal or sluggish, you can try the following CDN acceleration.
# [replacements]
# "raw.githubusercontent.com" = "cdn.jsdelivr.net/gh"
# "/master" = "@master"
Should the "/master" = "@master" line correspond to my branch name? The branch I want to upload to is main. So, should I set the config like this:
# If your network access to Github is abnormal or sluggish, you can try the following CDN acceleration.
[replacements]
"raw.githubusercontent.com" = "cdn.jsdelivr.net/gh"
"/main" = "@main"
Or should I leave the fourth line like this:
# If your network access to Github is abnormal or sluggish, you can try the following CDN acceleration.
[replacements]
"raw.githubusercontent.com" = "cdn.jsdelivr.net/gh"
"/master" = "@master"
Any help or guidance extremely appreciated.