[pytest-dev] maintaining a synced git fork easily?

Eldar Abusalimov eldar.abusalimov at gmail.com
Mon Sep 28 12:20:19 CEST 2015


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 <holger at merlinux.eu> 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
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>



-- 
Best regards,
Eldar Sh. Abusalimov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20150928/a5cb8fae/attachment.html>


More information about the pytest-dev mailing list