You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaScript or TypeScript users can just use the dugite package to access these binaries. But it's not clear how to use them in other languages. After looking at this file, I've come up with the following environment variables that need to be set:
# Assuming the dugite folder is in the current directoryexport GIT_EXEC_PATH="$(pwd)/libexec/git-core"export GIT_TEMPLATE_DIR="$(pwd)/share/git-core/templates"export GIT_SSL_CAINFO="$(pwd)/ssl/cacert.pem"
Once those env vars are set, ./bin/git will be be able to work properly, at least in my experience.
It'd be nice if this could be documented in this repo. Thanks!
The text was updated successfully, but these errors were encountered:
JavaScript or TypeScript users can just use the
dugite
package to access these binaries. But it's not clear how to use them in other languages. After looking at this file, I've come up with the following environment variables that need to be set:Once those env vars are set,
./bin/git
will be be able to work properly, at least in my experience.It'd be nice if this could be documented in this repo. Thanks!
The text was updated successfully, but these errors were encountered: