cd ${GIT_REOP}/.git/hooks
cp pre-commit.sample pre-commit
function checkForBinaries() {
binaryFilesCount=0
// curl -X POST -H "Content-Type: application/octet-stream" --data-binary '@filename' http://127.0.0.1:5050/upload | |
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
// "time" |