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

Get project defaults from git config #245

Open
juergenhoetzel opened this issue Apr 9, 2016 · 2 comments
Open

Get project defaults from git config #245

juergenhoetzel opened this issue Apr 9, 2016 · 2 comments

Comments

@juergenhoetzel
Copy link
Contributor

It would be nice if promptFor would provide some defaults based the users git configuration:

→ git config --get user.name
Juergen Hoetzel
→ git config --get user.email
juergen@archlinux.org

so you don't have to enter them every time you create a new project.

@forki
Copy link
Member

forki commented Apr 9, 2016

Cool. Are you going to send a PR?
On Apr 9, 2016 13:55, "Jürgen Hötzel" notifications@github.com wrote:

It would be nice if promptFor would provide some defaults based the users
git configuration:

→ git config --get user.name
Juergen Hoetzel
→ git config --get user.email
juergen@archlinux.org

so you don't have to enter them every time you create a new project.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#245

@juergenhoetzel
Copy link
Contributor Author

Easy to implement using Fake.Git.CommandHelper. But I ran into an encoding issue in FAKE when using runGitCommand:

git config --get user.email
番牥敧䁮牡档楬畮⹸牯੧

fsprojects/FAKE#1212 fixes the issue. Would you mind releasing a new FAKE package, so I can implement this?

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

2 participants