]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vcs: gitconfig: set push.autoSetupRemote master
authorSimon Ruderich <simon@ruderich.org>
Wed, 26 Feb 2025 09:21:14 +0000 (10:21 +0100)
committerSimon Ruderich <simon@ruderich.org>
Wed, 26 Feb 2025 09:21:14 +0000 (10:21 +0100)
vcs/gitconfig.in

index 2378453d8ede6a72e9d2c6b595449c4d75fcc24d..3f4b3a8e275d072056c003c53d9419910cf15938 100644 (file)
        # branch, see man page git-config(1) for details. Default since Git
        # 2.0.
        default = simple
+       # Assume --set-upstream when pushing and no upstream tracking exists.
+       autoSetupRemote = true
        # Push missing tags which are reachable from pushed refs.
        followTags = true