git: Set push.default to current

Push current branch to branch of same name.
This is useful for new branches as I almost always push those with:
```
	git push -u origin "$(git branch --show-current)"
```
This commit is contained in:
2021-07-07 12:02:27 +02:00
parent 0480b98812
commit ec94e7ebdd

View File

@@ -33,3 +33,5 @@
tool = nvimdiff tool = nvimdiff
[init] [init]
defaultBranch = main defaultBranch = main
[push]
default = current