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

Configure git #233

Closed
davidkarlsen opened this issue May 4, 2020 · 6 comments
Closed

Configure git #233

davidkarlsen opened this issue May 4, 2020 · 6 comments
Labels
duplicate This issue or pull request already exists

Comments

@davidkarlsen
Copy link

Prior to running git-commands I have to configure git:

        git config --global committer.email "[email protected]"
        git config --global committer.name "GitHub"
        git config --global author.email "${GITHUB_ACTOR}@users.noreply.github.com"
        git config --global author.name "${GITHUB_ACTOR}"

Could this be fixed by the action instead - it seems as sane default, and could be opt-in. Having to configure it manually is painful.

@peaceiris
Copy link

How about git config --local, not --global?

@davidkarlsen
Copy link
Author

Yes. Local makes more sense.

@davidkarlsen
Copy link
Author

@ericsciple
Copy link
Contributor

Closing since duplicate. Add any feedback to ADR. It's something I think should be added, just havent gotten to it yet.

@ericsciple ericsciple added the duplicate This issue or pull request already exists label May 27, 2020
@ericsciple
Copy link
Contributor

Also +1 the ADR :)

@davidkarlsen
Copy link
Author

@ericsciple Maybe link the ADR? There are several issues link to this (#233) issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants