Intellij, Github 멀티프로젝트 설정
https://blog.rhostem.com/posts/2020-01-03-code-sharing-with-git-subtree
모듈 2개를 만든다.
Github에서 부모 Repository를 생성합니다.
부모디렉토리에서 git 설정 및 pull 받는다.
» cd /mnt/c/Users/webme/intellij-workspace/demo
demo » git init
Initialized empty Git repository in /mnt/c/Users/webme/intellij-workspace/demo/.git/
demo(master) » ls
rest-api test-h2
demo(master) » git remote -v
origin https://github.com/donghyeok-dev/demo.git (fetch)
origin https://github.com/donghyeok-dev/demo.git (push
demo(master) » git pull origin master [15:48:38]
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 899 bytes | 18.00 KiB/s, done.
From https://github.com/donghyeok-dev/demo
* branch master -> FETCH_HEAD
10cdd50..86b625c master -> origin/master
Updating 10cdd50..86b625c
Fast-forward
.gitignore | 52 +++++++++++++++++++++++++++++++++-------------------
1 file changed, 33 insertions(+), 19 deletions(-)