From: Adam Sharafeddine Date: Mon, 22 Feb 2021 05:07:00 GMT Subject: Wrong configuration variable mentioned in git-push documentation (examples section) Message-ID: Hello In the file Documentation/git-push.txt under the EXAMPLES section, specifically under `git push origin`::, remote.origin.merge configuration variable is said to configure the upstream branch for the origin remote, when in fact it should be branch..merge, where is the name of the local branch at which HEAD is currently pointing to. Here's en excerpt: > `git push origin`:: > Without additional configuration, pushes the current branch to > the configured upstream (`remote.origin.merge` configuration > variable) if it has the same name as the current branch, and > errors out without pushing otherwise. I'm still learning Git so I thought I would share this with you (I got confused reading the examples). Maybe I'll learn something new or/and correct the aforementioned error. Regards -- Adam