Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 329 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 329 Bytes

git-subtree-demo

# add subtree and pull master branch into dist dir.
$ git subtree add --prefix=dist origin master

# modified content in dist dir. And commit it.
$ git commit -m "Initial dist subtree commit"

# push subtree to origin subtree-branch
$ git subtree push --prefix=dist origin <subtree-branch-name>