Skip to content

Instantly share code, notes, and snippets.

@jenlampton
Created December 31, 2022 04:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jenlampton/c23aa8e11d222e13060efab85d08a7e1 to your computer and use it in GitHub Desktop.
Save jenlampton/c23aa8e11d222e13060efab85d08a7e1 to your computer and use it in GitHub Desktop.
cd path/to/backdrop/core/modules/field_group
git filter-repo --to-subdirectory-filter field_group
cd path/to/backdrop
git remote add field_group git@github.com:backdrop-contrib/field_group.git
git fetch field_group --tags
git merge --allow-unrelated-histories field_group/1.x-1.x
git remote remove field_group
cp -R core/modules/field_group/fied_group/* core/modules/field_group/.
git add core/modules/field_group/.
git commit --amend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment