# [StGit] push/pull stacked patches

1 messages from 2009-11-26 to 2009-11-26. Participants: Kurt Harriman.
Thread: https://gitlist.dev/t/21759

## Kurt Harriman, 2009-11-26 12:17

Subject: [StGit] push/pull stacked patches
Message-ID: <4B0E71E2.3040908@acm.org>
URL: https://gitlist.dev/e/4B0E71E2.3040908%40acm.org

```
Suppose two developers are collaborating on a series of patches.
What is the best way to synchronize their repositories, including
the StGit state?

Even if both repositories are StGit-enabled, the patch metadata
and unapplied patches don't seem to be transferred by push/pull.

Applied patches are transferred as ordinary commits, losing
their patch names and their place in the patch stack.
It seems that a remote branch cannot have a patch stack.

Instead of using push/pull, a patch series can be transferred
using stg export/import, but this is error-prone, requiring
extra steps, and changes the commit timestamp and SHA1.
Stg export/import are good for distributing the final version
of a patch series; but ungitly for back-and-forth collaboration.
Is there a better way?

```
