Answer the question
In order to leave comments, you need to log in
What does -u mean in Git?
for example, what does -u mean in the git push -u origin master command?
Answer the question
In order to leave comments, you need to log in
git push --help ? no, I didn't hear it!!!!
-u, --set-upstream
For every branch that is up to date or successfully pushed, add upstream (tracking) reference, used by argument-less git-
pull(1) and other commands. For more information, see branch..merge in git-config(1).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question