
The push command tells git where to put our commits when we are ready. The name of our remote is origin and the default local branch name is master. The -u tells Git to remember the parameters, so that next time we can simply run 'git push' and Git will know what to do.
Code Structure
git push -u origin master
Share this