# 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>
-
Notifications
You must be signed in to change notification settings - Fork 0
cycdpoCodeLab/git-subtree-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
git subtree demo
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published