git merge subdirectory with another repository -


i have git repository (named x) develop larger project. want use code git repository (named y) , include in repo x under x/a/b.

i want make changes x/a/b , commit own repository (x). possible copying code repo y x/a/b. want merge changes y x/a/b. how that?

finally, achieved desired result git subtree. can commit changes of x/a/b repository x, pull y.

this blog entry explains steps quick.


Comments

Popular posts from this blog

html - jquery - p element wont show after I hid it -

python - BeautifulSoup: How to get the nearest tag -

php - Return Last Insert ID with PDO -