how to use subtree

still working on it

How to use git subtree

1. Add a new repository as a subtree

# Example
# Add a new repository as a subtree
git subtree add --prefix=<prefix> <remote-name> <branch> --squash

# it is updated from the main repository
# push to subtree repository

git subtree push --prefix=src/subtree subtree(repo name) master(remote)

# update from subtree repository
git subtree pull --prefix=src/subtree subtree(repo name) master(remote) --squash



Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • INTD 450 Game Development Learning Plan
  • first music producing
  • clique-based abstraction
  • A* search proof
  • growth of functions