gh
gh copied to clipboard
Add parent repository as upstream remote
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
Hi @jdxcode, Is there anything I should fix in this PR? Do you have any comments on this?
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.