git push --set-upstream vs --set-upstream-to

Viewed 30205

according to this article, git push --set-upstream is deprecated and git push --set-upstream-to should be used instead.

But when I checked the git push documentation, I can only find --set-upstream, but --set-upstream-to is no where to be found.

So is --set-upstream deprecated? Should I use --set-upstream or --set-upstream-to?

2 Answers
Related