Mercurial > repos > other > linux
comparison gitconfig @ 152:510c38f1cfc2
Add helpful Git defaults for branch, pull/merge and publishing
Also includes a broken command to try and alias adding to DVC
since it always gives you a command to run
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 11 Jan 2022 20:48:33 +0000 |
parents | c3320f06d412 |
children |
comparison
equal
deleted
inserted
replaced
151:d0aef31d4122 | 152:510c38f1cfc2 |
---|---|
18 prompt = false | 18 prompt = false |
19 [push] | 19 [push] |
20 default = simple | 20 default = simple |
21 [include] | 21 [include] |
22 path = ~/.gitconfig-override | 22 path = ~/.gitconfig-override |
23 [pull] | |
24 rebase = true | |
25 [alias] | |
26 publish = push -u origin HEAD | |
27 # dadd = "!dvc_add() { DVC_FILES=$(echo $@ | sed 's/\( |$\)/.dvc /g'); dvc add $@ && git add .gitignore $DVC_FILES; }; dvc_add" | |
28 [init] | |
29 defaultBranch = main |