βš™ This new GIT push config will save you lot of frustration!

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Git 2.37 introduced the `push.autoSetupRemote` configuration option that eliminates the common error when pushing a new branch without an upstream set. By running `git config --global push.autoSetupRemote true`, Git will automatically set the upstream tracking branch on first push, removing the need to manually pass `--set-upstream origin <branch>` every time.

β€’2m read timeβ€’From playfulprogramming.com
Post cover image

Sort: