mitre / saf_action

GitHub Action for SAF CLI
https://github.com/marketplace/actions/saf-cli-action
Other
6 stars 0 forks source link

Git push failing #65

Open Amndeep7 opened 2 months ago

Amndeep7 commented 2 months ago

I received an error that looked like this during the release process.

git push --atomic origin main v1 v1.7.2
Enumerating objects: 3494, done.
Counting objects: 100% (3494/3494), done.
Delta compression using up to 12 threads
Compressing objects: 100% (2509/2509), done.
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (2558/2558), 13.58 MiB | 5.03 MiB/s, done.
Total 2558 (delta 1465), reused 114 (delta 5), pack-reused 0 (from 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date

Using the following command fixed it: git config --global http.postBuffer 157286400
Source: https://stackoverflow.com/a/69891948

If other folks experience similar issues, then we should update the release wiki to recommend this git configuration change.