Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document usage in non-JS languages #357

Open
makew0rld opened this issue Sep 20, 2021 · 0 comments
Open

Document usage in non-JS languages #357

makew0rld opened this issue Sep 20, 2021 · 0 comments

Comments

@makew0rld
Copy link

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 directory
export 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant