Skip to content

cycdpoCodeLab/git-subtree-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

Releases

No releases published

Packages

No packages published