Git click upstream

I tried looking for an answer for this, but cannot find a direct answer.

I am running the code below.

git fetch upstream # get the latest copy from master / upstream git merge upstream/master # merge the downloaded copies and merge to your copy git commit -am"test" # commit your latest changes git push origin master # push to your fork git push upstream # push to master copy from where you forked your project - is this safe? 

Is it safe to push up ( git push upstream )? My main goal is to apply my changes from my plug to the main project. Or is there a better way? thanks

+7
source share
2 answers

It depends on how much privilege you have for clicking. If you have not done so, ask the owner of the upstream repository to remove it from your plug.

+2
source

Since you marked this question as GitHub, I assume that you want to push your changes to your fork, and then issue a transfer request from the GitHub user interface. Git does not have a command line option to issue traction requests.

You can read more at https://help.github.com/articles/using-pull-requests

0
source

All Articles