gh icon indicating copy to clipboard operation
gh copied to clipboard

Add parent repository as upstream remote

Open tsvayer opened this issue 5 years ago • 2 comments

It's a common scenario when you want to contribute to some project you first fork it and later need to sync with the upstream repository. So, you need to add a remote to it. This PR does just that:

  • Checks whether repository has a parent repository
  • Adds upstream remote parent repository ('upstream' name was chosen according to the related github help article )

Note: committed files have indentation changes. It is not my arbitrary choice. They are formatted by fish_indent

tsvayer avatar Oct 16 '18 15:10 tsvayer

Hi @jdxcode, Is there anything I should fix in this PR? Do you have any comments on this?

tsvayer avatar Oct 22 '18 11:10 tsvayer

Hi @jdxcode I understand that you may have no time to reply, but I would appreciate if you could at least say anything on whether you have any plans to continue support for this tool or not. Thanks in advance.

Regarding this pull request, after using it for some time, I can confirm that it is indeed very useful.

tsvayer avatar Dec 26 '18 15:12 tsvayer