lqg 2 years ago
commit
dccdd78152

+ 105 - 0
.gitconfig

@@ -0,0 +1,105 @@
+[user]
+	name = liuyuqi-dellpc
+	email = liuyuqi.gov@msn.cn
+
+[credential]
+	helper = wincred
+
+[gui]
+	encoding = utf-8
+	pruneduringfetch = true
+
+[diff]
+	tool = vsdiffmerge
+[difftool]
+	prompt = true
+[difftool "vsdiffmerge"]
+	cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
+	keepbackup = false
+[commit]
+	gpgSign = false
+[smartgit "submodule"]
+	fetchalways = false
+	update = true
+	initializenew = true
+[push]
+	recurseSubmodules = check
+[core]
+	quotepath = false
+	editor = code --wait
+	ignorecase = false
+	autocrlf = true
+	excludesfile = C:\\Users\\liuyuqi\\Documents\\gitignore_global.txt
+
+[alias]
+    st = status
+    co = checkout
+    br = branch
+    mg = merge
+    ci = commit
+    md = commit --amend
+    dt = difftool
+    mt = mergetool
+    last = log -1 HEAD
+    cf = config
+    line = log --oneline
+    latest = for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short) [%(committername)]'
+    ls = log -n 20 --pretty=format:\"%C(yellow)%h %C(blue)%ad %C(red)%d %C(reset)%s %C(green)[%cn]\" --decorate --date=short
+    hist = log --pretty=format:\"%C(yellow)%h %C(red)%d %C(reset)%s %C(green)[%an] %C(blue)%ad\" --topo-order --graph --date=short
+    type = cat-file -t
+    dump = cat-file -p
+
+[gc]
+	autoDetach = false
+
+[includeIf "gitdir:E:/data/workspace/"]
+    path=~/.ssh/.gitconfig-self
+
+[includeIf "gitdir:D:/liuyuqi/zhizhou/"]
+    path=~/.ssh/.gitconfig-zhizhou
+
+[includeIf "gitdir:D:/liuyuqi/Developer/aifen.org/"]
+    path=~/.ssh/.gitconfig-aifen
+
+[includeIf "gitdir:D:/liuyuqi/Developer/miniapp/wxapp/"]
+    path=~/.ssh/.gitconfig-ministar
+
+[includeIf "gitdir:E:/data/workspace/chinagreenfinance/"]
+    path=~/.ssh/.gitconfig-greenfinance
+
+[includeIf "gitdir:D:/liuyuqi/coding/sift/"]
+    path=~/.ssh/.gitconfig-coding-sift
+
+[includeIf "gitdir:D:/liuyuqi/coding/heavyrain/"]
+    path=~/.ssh/.gitconfig-coding-heavyrain
+
+[includeIf "gitdir:F:/workspace/"]
+    path=~/.ssh/.gitconfig-android
+
+[http]
+	postBuffer = 524288000
+
+[i18n "commit"]
+	encoding = utf-8
+
+[i18n]
+	commitEncoding = utf-8
+	logOutputEncoding = utf-8
+
+[https]
+	sslVerify = false
+	proxy = socks5://127.0.0.1:1080
+
+[http]
+	sslVerify = false
+	proxy = socks5://127.0.0.1:1080
+
+[difftool "sourcetree"]
+	cmd = '' \"$LOCAL\" \"$REMOTE\"
+
+[mergetool "sourcetree"]
+	cmd = "'' "
+	trustExitCode = true
+
+[init]
+	defaultBranch = master

+ 11 - 0
.ssh/.gitconfig-aifen

@@ -0,0 +1,11 @@
+[user]
+	name = aifen-env
+	email = liuyuqi.gov@msn.cn
+
+[credential]
+    username = aifen_envpro
+    useHttpPath = true
+
+[credential "https://git.yoqi.me"]
+    username = aifen_envpro
+    useHttpPath = true

+ 3 - 0
.ssh/.gitconfig-android

@@ -0,0 +1,3 @@
+[user]
+	name = lqg
+	email = lqg@yoqi.me

+ 11 - 0
.ssh/.gitconfig-coding-heavyrain

@@ -0,0 +1,11 @@
+[user]
+	name = heavyrain
+	email = lyq.me@qq.com
+
+[credential]
+    username = lyq.me@qq.com
+    useHttpPath = true
+
+[credential "https://e.coding.net"]
+    username = lyq.me@qq.com
+    useHttpPath = true

+ 11 - 0
.ssh/.gitconfig-coding-sift

@@ -0,0 +1,11 @@
+[user]
+	name = sift
+	email = zz1036@qq.com
+
+[credential]
+    username = zz1036@qq.com
+    useHttpPath = true
+
+[credential "https://e.coding.net"]
+    username = zz1036@qq.com
+    useHttpPath = true

+ 3 - 0
.ssh/.gitconfig-greenfinance

@@ -0,0 +1,3 @@
+[user]
+	name = greenfinance
+	email = liuyuqi.gov@msn.cn

+ 8 - 0
.ssh/.gitconfig-ministar

@@ -0,0 +1,8 @@
+[user]
+	name = MiniStar
+	email = ministar@gmail.com
+
+[credential]
+	username = MiniStar
+	helper = wincred
+	namespace = git.username

+ 4 - 0
.ssh/.gitconfig-self

@@ -0,0 +1,4 @@
+[user]
+	name = liuyuqi-dellpc
+	email = liuyuqi.gov@msn.cn
+

+ 3 - 0
.ssh/.gitconfig-zhizhou

@@ -0,0 +1,3 @@
+[user]
+	name = zhizhou-lyq
+	email = liuyuqi.gov@msn.cn

+ 4 - 0
README.md

@@ -0,0 +1,4 @@
+# GitUserManage
+
+git 多用户管理
+

+ 24 - 0
gitignore_global.txt

@@ -0,0 +1,24 @@
+
+#ignore thumbnails created by windows
+Thumbs.db
+#Ignore files build by Visual Studio
+*.obj
+*.exe
+*.pdb
+*.user
+*.aps
+*.pch
+*.vspscc
+*_i.c
+*_p.c
+*.ncb
+*.suo
+*.tlb
+*.tlh
+*.bak
+*.cache
+*.ilk
+*.log
+*.dll
+*.lib
+*.sbr