summaryrefslogtreecommitdiff
path: root/gitconfig
diff options
context:
space:
mode:
authorTill Höppner2017-06-11 17:34:19 +0200
committerTill Höppner2017-06-11 17:34:19 +0200
commitc68b78bb10a76ad5783529a8e40866d02a0a30b7 (patch)
tree23c9e523c6d8cecc9b43fc1905112dcd7a88e872 /gitconfig
parent2c5f7326bca49fe27a865f07175d6278b2f8b13a (diff)
downloadgit-master.tar.gz
git-master.tar.xz
git-master.zip
Document g identHEADmaster
Diffstat (limited to 'gitconfig')
-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\";\