Mercurial > repos > other > linux
annotate gitconfig @ 160:961186621cc8
Add optional rhg (Mercurial Rust) support
Configure in hgrc and write a custom `hg prompt` that's faster
that the prompt extension on a Raspberry Pi because it
doesn't initialise Python on each call
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 11 Nov 2023 20:29:16 +0000 |
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 |