[git] Change to only ssh pushing, verbose diffs
Changed url substitution to only work on pushing, so that we can always make use of ssh keys but things like pulling through rust's cargo still work. Default to verbose diffs, even though we also set it in the alias.
This commit is contained in:
parent
43a21d4775
commit
7648d9c8d3
1 changed files with 8 additions and 2 deletions
|
@ -11,8 +11,14 @@
|
||||||
ignore = "!gitignore -f"
|
ignore = "!gitignore -f"
|
||||||
pushmerge = "push -o merge_request.merge_when_pipeline_succeeds" # see https://docs.gitlab.com/ce/user/project/push_options.html#merge-when-pipeline-succeeds-alias
|
pushmerge = "push -o merge_request.merge_when_pipeline_succeeds" # see https://docs.gitlab.com/ce/user/project/push_options.html#merge-when-pipeline-succeeds-alias
|
||||||
[url "git@github.com:"]
|
[url "git@github.com:"]
|
||||||
insteadOf = https://github.com
|
pushInsteadOf = "https://github.com/"
|
||||||
|
pushInsteadOf = "http://github.com/"
|
||||||
|
pushInsteadOf = "gh:"
|
||||||
[url "git@gitlab.com:"]
|
[url "git@gitlab.com:"]
|
||||||
insteadOf = https://gitlab.com
|
pushInsteadOf = "https://gitlab.com"
|
||||||
|
pushInsteadOf = "http://gitlab.com"
|
||||||
[commit]
|
[commit]
|
||||||
|
# sign commits as me
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
# Show diff when preparing commit message
|
||||||
|
verbose = true
|
||||||
|
|
Loading…
Reference in a new issue