Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Checkout branch in own fork #618

Closed
rvanlaak opened this issue Mar 23, 2016 · 4 comments
Closed

Checkout branch in own fork #618

rvanlaak opened this issue Mar 23, 2016 · 4 comments

Comments

@rvanlaak
Copy link

Github should have an option to easily checkout and synchronize with an upstream branch in the forked repository. My rvanlaak/symfony repository is completely out-of-date with symfony/symfony, so it would almost make more sense to remove the entire fork and clone it again then to make sure that their status is identical. Right now the easiest step to get a branch that is up-to-date is by modifying a file in upstream directly, which creates a patch-x branch on origin.

Basically having a button/action to checkout a branch from upstream to origin would be enough. The upstream branch changed it's default branch already for three times now, and changing the default branch via my local repo requires many unnecessary steps.

@NobbZ
Copy link

NobbZ commented Mar 23, 2016

Whenever I'm out of sync I checkout the corresponding branch locally and
git pull --rebase origin branch && git push origin branch, works quite well
for me.

Richard van Laak [email protected] schrieb am Mi., 23. März 2016
21:00:

Github should have an option to easily checkout and synchronize with an
upstream branch in the forked repository. My rvanlaak/symfony repository
is completely out-of-date with symfony/symfony, so it would almost make
more sense to remove the entire fork and clone it again then to make sure
that their status is identical. Right now the easiest step to get a branch
that is up-to-date is by modifying a file in upstream directly, which
creates a patch-x branch on origin.

Basically having a button/action to checkout a branch from upstream to
origin would be enough. The upstream branch changed it's default branch
already for three times now, and changing the default branch via my local
repo requires many unnecessary steps.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#618

@rvanlaak
Copy link
Author

That works well for me too, but I remember my first experiences of using Git here and decided this is something that Github could facilitate with one simple button really well. That way you don't need the command line for this, as you already mentioned, simple action.

@TPS
Copy link
Collaborator

TPS commented Mar 24, 2016

#438?

@Mottie
Copy link

Mottie commented May 22, 2016

#121?

Mottie added a commit to Mottie/GitHub-userscripts that referenced this issue May 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants