blob: 6882419c93e28729bad79d81f91b7d9cda7f73d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
{ ... }:
{
xdg.enable = true;
programs.git = {
enable = true;
settings = {
user = {
name = "DemonKingSwarn";
email = "swarnaditya.7@proton.me";
};
init = {
defaultBranch = "master";
};
core = {
compression = 4;
whitespace = "error";
preloadIndex = true;
};
advice = {
addEmptyPathspec = false;
pushNonFastForward = false;
statusHints = false;
};
status = {
branch = true;
showStash = true;
showUntrackedFiles = "all";
};
diff = {
context = 3;
renames = "copies";
interHunkContext = 10;
};
push = {
autoSetupRemote = true;
default = "current";
followTags = true;
};
pull = {
rebase = true;
};
rebase = {
autoStash = true;
missingCommitsCheck = "warn";
};
http = {
sslVerify = false;
version = "HTTP/1.1";
};
gpg.format = "ssh";
url = {
"git@github.com:demonkingswarn/" = {
insteadOf = "dks:/";
};
"git@github.com:" = {
insteadOf = "gh:";
};
};
credential = {
"https://github.com".helper = [ "" "!/usr/bin/gh auth git-credential" ];
"https://gist.github.com".helper = [ "" "!/usr/bin/gh auth git-credential" ];
};
};
};
}
|