git push -u origin master
Is the same as:
git push origin master ; git branch --set-upstream master origin/master
Do the last statement if you forget the -u
!
Read full article from What exactly does the "u" do? "git push -u origin master" vs "git push origin master" - Stack Overflow
No comments:
Post a Comment