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

More isolated git config with testing locally #88

Merged

Conversation

simonbaird
Copy link
Collaborator

@simonbaird simonbaird commented Nov 21, 2024

Three changes related to the global .gitconfig and the .git-credentials file. The goal is to be able to test locally without impacting your real git environment.

This is still a little impolite when running locally, but at least
we're not clobbering the entire file!
@simonbaird simonbaird changed the title Use git config --global for credential helper More isolated git config with testing locally Nov 21, 2024
The motivation is to avoid modifying (or using) your real local
$HOME/.gitconfig.

Note that a .git-credentials file is still placed in $HOME, but
let's not worry about that for now.
When testing locally it's better not to clobber your real
.git-credentials file.
@jduimovich jduimovich merged commit 7748035 into redhat-appstudio:main Nov 23, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants