Holger,

There was a good post in the GitHub blog about multiple worktrees and
triangular workflows
<https://github.com/blog/2042-git-2-5-including-multiple-worktrees-and-triangular-workflows>.
Hope that helps!

On Mon, Sep 28, 2015 at 1:15 PM, holger krekel <[email protected]> wrote:

> Hey git-users :)
>
> could someone help me with how to best manage my git fork of pytest?
>
> I currently have two separate directories for my pytest work -- one
> which was cloned from pytest-dev/pytest and one from hpk42/pytest which
> was forked using the github UI.  Is it a good idea to try to maintain
> both "remotes" in a single directory on my laptop?  I'd basically like
> to be able to make a branch from pytest-dev/pytest but have it stored
> in the hpk42/pytest fork repo.  And only have a single "git pull/fetch".
>
> Instead currently i do this:
>
>     cd pytest ; git pull
>     cd ../pytest-hpk
>     git co master ; git pull ../pytest ; git push origin
>     git co features ; git pull ../pytest ; git push origin
>
> which seems a bit much -- also the last two "git co" commands usually
> involve a merge commit which seems wrong (i probably messed up at some
> point -- do i need to do a fresh fork/clone?).
>
> How are you solving this usage issue?
>
> holger
> _______________________________________________
> pytest-dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/pytest-dev
>



-- 
Best regards,
Eldar Sh. Abusalimov
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to