Skip to content

Latest commit

 

History

History
executable file
·
30 lines (15 loc) · 484 Bytes

File metadata and controls

executable file
·
30 lines (15 loc) · 484 Bytes

GIT - Subtrees

Setup

git remote add <MY-SUBTREE> git@github.com:<USER>/<SUBPOJECT>.git
git subtree add --prefix=<MY-SUBTREE>/ <MY-SUBTREE> master

Pull changes from sub-repo

git subtree pull --prefix=<MY-SUBTREE> <MY-SUBTREE> master

Push changes to sub-repo

 

Links: