[PATCH] D53414: Add instructions for migrating branches from one git repository to another.

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 02:48:40 PDT 2018


fedor.sergeev added inline comments.


================
Comment at: llvm/docs/Proposals/GitHubMove.rst:906
+  $ git checkout -b my-branch <new-base-commit>
+  $ git am /tmp/my-branch-patches/*
+
----------------
fedor.sergeev wrote:
> Why not rebase --onto instead of format-patch/am ?
> Never used git-am for a bulk set of patches but my feeling is that rebase would be a bit more "controllable" in a case when something wrong happens with the patches...
> (also it has a benifit of not requiring to put patches somewhere into /tmp :) )
Ignore the above, it wont work with --directory=llvm hacks.


https://reviews.llvm.org/D53414





More information about the llvm-commits mailing list