Open ryanlovett opened 1 month ago
https://github.com/conda-forge/git-feedstock/issues/113 Is related and should explain the behavior i think
In our case, the git from Ubuntu/apt is not working while the one from conda is. However that issue let me to test running
GIT_CONFIG_NOSYSTEM=1 /bin/git push ...
and that worked! /etc/gitconfig was set for a specific repo in fact, so this is a mistake on my part. So I might change the title of this issue to "Document role of /etc/gitconfig" or just close it. What do you think?
Ya i think we should document the location of the gitconfig and specifically point to the conda location being different
Proposed change
(I'm not sure if this should be a bug report or feature request.)
We installed gh-scoped-creds in a few different jupyterhubs and noticed that it wasn't working properly on one of them. Where it was broken, we were using the
git
provided by the OS, Ubuntu Jammy, while the working environments were usinggit
from conda-forge. In the broken environment, when I installedgit
from conda, gh-scoped-creds worked properly.Alternative options
Determine why git in Jammy does not work? Perhaps the issue is specific to that version, or perhaps it is specific to some in-between version of git and earlier.
Who would use this feature?
People who prepare singleuser hub environments. People who configure their own environments on hubs.
(Optional): Suggest a solution