Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.04 KB

git-subtree-push-from-parent-project-to-child.md

File metadata and controls

51 lines (37 loc) · 1.04 KB

git-subtree-push-from-parent-project-to-child

깃 서브트리 부모 프로젝트에서 자식 프로젝트로 푸시하기


desc

  • git subtree

inst

from stackoverflow

On windows the nested command doesn't work:

git push heroku `git subtree split --prefix pythonapp master`:master --force

You can just run the nested bit first:

git subtree split --prefix pythonapp master

This will (after a lot of numbers) return a token, e.g.

157a66d050d7a6188f243243264c765f18bc85fb956

Use this in the containing command, e.g:

git push heroku 157a66d050d7a6188f243243264c765f18bc85fb956:master --force

dep

  • git

ref

tags

#git, #terminal, #git subtree