What is -u flag while pushing to github and what happens if we don't use it?

Viewed 18

New to git, so have been wondering what difference it makes while using "git push origin main" or "git push -u origin main". Apparently has something to do with in-stream but that is not very self explanatory.

0 Answers
Related