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

Is there a way to have git user name/email automatically set? #34

Open
felladrin opened this issue Jul 30, 2022 · 0 comments
Open

Is there a way to have git user name/email automatically set? #34

felladrin opened this issue Jul 30, 2022 · 0 comments

Comments

@felladrin
Copy link
Contributor

Every time we open a new instance of run-gp, git config user.name and git config user.email are empty, preventing us from committing changes before setting them up.

Is there currently a way to have them set automatically?

If not, it could do one of these things:

  • pick automatically from the host machine during the container startup.
  • make use of env vars like in https://www.gitpod.io/docs/environment-variables/ by:
    • allowing us to load environment variables from a .env file (path provided via argument or found in $(run-gp config path)).
    • allowing us to pass env vars as an argument to run-gp.
    • picking from the host machine based on when the env var starts with GITPOD_ENV_SET_.
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