Closed RajatSinghRawat closed 3 years ago
@walterbender Please review the changes I have made.
Yes, unless you have configured the branch with a default remote, you will see this message;
You asked to pull from the remote 'upstream', but did not specify
a branch. Because this is not the default configured remote
for your current branch, you must specify a branch on the command line.
But you may not be operating against the master branch. Developers on Sugarizer, for example, will usually be operating from the dev branch. So I don't agree to make this change.
Also, you do not have to push your local repository to the origin. That's something you must choose when to do, and is not part of keeping your fork up to date.
@quozl Thank you sir for reviewing my pull request and letting me know my wrong commit.
I don't understand; what is your counter-offer or next step?
In the second git command you also have to specify the branch-name to which you are pulling the code. And after that you have to push your local repository to the origin, then the remote forked repository will be updated. I have added the command.