Subtree

Subtree Push

  • git subtree push allows us to cause a sub-directory of the current branch to be the root-level directory of another branch
  • ex. git subtree push --prefix docs origin gh-pages
    • this pushes just the docs directory to the gh-pages branch.

UE Resources

https://www.atlassian.com/git/tutorials/git-subtree