You have made the changes necessary to address the issue you were assigned, and you are now ready to upstream those changes. In order to do that, the first step is to get the changes you have made into GitHub so that the upstream maintainers can be told about them.
As shown in FigureΒ 3.7.1, this is done by pushing your feature branch to your origin repository. More generally, pushing a branch, copies it from a local repository to a remote repository.
Perhaps you arenβt in your origin repository. Make sure you see your GitHub userid in the upper left hand corner of your GitHub tab.
Hint.
Make sure you are in your origin repository, not the upstream repository. Refer to FigureΒ 3.7.1 and look at the origin to see what branches appear on GitHub.
Branches are created in the local repository. It is possible that someone else created a branch in their local repository and pushed it to their origin. You have a different origin repository so you would not see it.
Someone else created a branch in their local repository and it appears in the origin repository.
It is possible that someone else created a branch in their local repository and pushed it to their origin. You have a different origin repository so you would not see it.
Hint.
All the work you have done in this chapter is on your local machine. What should be appearing in your local repository that is not in the origin repository?
You will need to push your feature branch from your local repository to your origin repository on GitHub. You have given your remote repository the name origin which you can use instead of the full URL. For example, git push origin <branch> and the name of your branch where you committed your change. Type the command now.
The output should not contain any error messages. If you see error messages, make sure you spelled your branch name correctly and your command is in the proper format and does not include < >. The last few lines should also give you some indication that your push was successful. Look at the last two lines of output produced.
There are several lines of output that mention deltas. Ignore these. Make sure you are looking at the last two lines - the first of which begins with To and the second of which begins with a hexademical code.