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

Configurable user name and email #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Configurable user name and email #4

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 19, 2014

Hello,

I don't configure a global username and email address because I work on many different projects from the same computer under different aliases. I ran into a problem with this task where I could not commit without configuring a global username and email address. Fortunately, it was fairly simple to add options to make this configurable. Please consider merging in my changes.

Thank you,

wkmanire

@iclanzan
Copy link
Owner

Hi @wkmanire,

This is a great idea, but can you take it a step further and allow any config option to be set?

The grunt task config can look like this:

git_deploy: {
  options: {
    config: {
      user: {
        name: 'John',
        email: 'john@example.com'
      }
    }
  }
}

@ghost
Copy link
Author

ghost commented Nov 19, 2014

Unfortunately I do not have the time to do this today. Perhaps later this week. The change I made to the way the git commands are queued up should make it fairly easy to accomplish though.

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