]> git.99rst.org Git - git.git/commit
doc: git-push: add explanation of `git push origin main`
authorJulia Evans <redacted>
Mon, 6 Oct 2025 18:58:51 +0000 (18:58 +0000)
committerJunio C Hamano <redacted>
Mon, 6 Oct 2025 21:30:34 +0000 (14:30 -0700)
commita72504fe051272227f4097e8d664a9b7d871ec25
tree82388f87e4c5f0551ecfc8dd7e27045b353fb62d
parent6e1688f1f462d7a704bbcc1dae612488b7ac6e29
doc: git-push: add explanation of `git push origin main`

What happens if you run `git push` without any arguments is actually
extremely complex to explain, as discussed in the previous commit.

But it's very easy to explain what `git push <remote> <branch>` does, so
start the man page by explaining what that does.

The hope is that someone could just stop reading the man page here and
never learn anything else about `git push`, and that would be fine.

Signed-off-by: Julia Evans <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-push.adoc
git clone https://git.99rst.org/PROJECT