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

install.sh: merge .gitconfig instead of overwriting #2

Open
janmoesen opened this issue Jul 25, 2012 · 0 comments
Open

install.sh: merge .gitconfig instead of overwriting #2

janmoesen opened this issue Jul 25, 2012 · 0 comments

Comments

@janmoesen
Copy link
Owner

Intelligently merge .gitconfig with the existing file (if any) by adding to the existing config by looping the values from git config --file $TILDE_FILE.

In case of a conflict, ask what to do. Always ignore Tilde's user.name and user.email. (Not that they are in Tilde, anyway, because I did not want anyone accidentally committing as me. But I could re-add them, and not have to worry about that anymore because the other configuration values are copied, not the whole file.)

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