Mercurial > repos > other > linux
annotate gitconfig @ 164:d6bf7ed9024c
Avoid permission errors in output
This happens when a non-root command runs in a dir where a file
has root-only permissions (e.g. the Puppet repo)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 25 May 2024 15:58:34 +0100 |
parents | 510c38f1cfc2 |
children |
rev | line source |
---|---|
4 | 1 [user] |
2 name = IBBoard | |
3 email = dev@ibboard.co.uk | |
124 | 4 [core] |
5 excludesfile = ~/.gitignore | |
4 | 6 [branch] |
7 autosetupmerge = true | |
8 [diff] | |
9 [merge] | |
10 tool = meld | |
11 [mergetool "meld"] | |
12 cmd = meld \\\"$BASE\\\" \\\"$LOCAL\\\" \\\"$REMOTE\\\" | |
13 [diff] | |
14 tool = meld | |
15 [difftool "meld"] | |
16 cmd = meld \"\" \"\" | |
17 [difftool] | |
18 prompt = false | |
29
9bce7362e609
Default to simple git push for fairly sane behaviour
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
19 [push] |
9bce7362e609
Default to simple git push for fairly sane behaviour
IBBoard <dev@ibboard.co.uk>
parents:
13
diff
changeset
|
20 default = simple |
65
dc844728d1d4
Add an include to allow username overrides on other systems
IBBoard <dev@ibboard.co.uk>
parents:
29
diff
changeset
|
21 [include] |
dc844728d1d4
Add an include to allow username overrides on other systems
IBBoard <dev@ibboard.co.uk>
parents:
29
diff
changeset
|
22 path = ~/.gitconfig-override |
152
510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
IBBoard <dev@ibboard.co.uk>
parents:
124
diff
changeset
|
23 [pull] |
510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
IBBoard <dev@ibboard.co.uk>
parents:
124
diff
changeset
|
24 rebase = true |
510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
IBBoard <dev@ibboard.co.uk>
parents:
124
diff
changeset
|
25 [alias] |
510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
IBBoard <dev@ibboard.co.uk>
parents:
124
diff
changeset
|
26 publish = push -u origin HEAD |
510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
IBBoard <dev@ibboard.co.uk>
parents:
124
diff
changeset
|
27 # dadd = "!dvc_add() { DVC_FILES=$(echo $@ | sed 's/\( |$\)/.dvc /g'); dvc add $@ && git add .gitignore $DVC_FILES; }; dvc_add" |
510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
IBBoard <dev@ibboard.co.uk>
parents:
124
diff
changeset
|
28 [init] |
510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
IBBoard <dev@ibboard.co.uk>
parents:
124
diff
changeset
|
29 defaultBranch = main |