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:
@@ -33,3 +33,5 @@
|
|||||||
tool = nvimdiff
|
tool = nvimdiff
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
[push]
|
||||||
|
default = current
|
||||||
|
|||||||
Reference in New Issue
Block a user