progit2 icon indicating copy to clipboard operation
progit2 copied to clipboard

Enhance the push cmd to also track the newly pushed branch

Open kevzoid opened this issue 3 months ago • 0 comments

Changes

The git push examples for new branches have been updated to include the -u flag, which sets the upstream tracking branch.

Context

This change adds the -u flag to the initial git push for these new branches. Because these branches are newly created locally, they don't yet track a remote branch. This update makes the examples consistent with others in the section and reflects a modern best practice that simplifies all future push and pull commands.

kevzoid avatar Sep 13 '25 16:09 kevzoid