summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
index a2a956d..6cfc1dc 100644
--- a/gitconfig
+++ b/gitconfig
@@ -54,6 +54,8 @@
# dated push
dps = "!f(){ git dcm; git push \"$@\"; }; f"
+ # Set user information, supposed to be used once per local repo
+ # Works better with user.useConfigOnly = true
ident = "!f(){\
git config --replace-all user.name \"$1\";\
git config --replace-all user.email \"$2\";\