what is the difference between these commands:
git push -u origin master
git push origin master
what is the difference between these commands:
git push -u origin master
git push origin master
In short, the -u
parameter tells git to set upstream source for this branch. After this is done, no need to set it again, git push origin master
is sufficent.