-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to use upstream branch to checkout when fork is used #95
Comments
@xepozz can you describe in detail how you would like to work with upstream? What exactly do you want to do with it with the tool? |
That is about pulling changes from upstream/master (original repo) into origin/master (fork). That's common workflow despite the fact that you can directly branch from upstream/master for your pull requests. |
But the existing implementation tries to be smart and already pulls from upstream, if the package is a fork: yii-dev-tool/src/Command/Git/PullCommand.php Lines 32 to 33 in d8142e8
This is why I am trying to understand @xepozz's use case. |
@xepozz it's actual? |
Yeap |
Do you want to get any branch from the upstream repository, not just the master branch, so the sync command doesn't suit you? |
|
Would be nice to have an ability to use
upstream/master
when you using a fork.master
from fork can be outdated and you will work with outdated code base.I think it can be configured in
packages.php
like the following:or any handy ways.
The text was updated successfully, but these errors were encountered: