git flow
01 Sep 2021
git flow init 진행 오류
git flow init -d
Fatal: Working tree contains unstaged changes. Aborting.
git flow는 변경된 파일이 없다면
git stash
(변경된 기능 임시 저장) 후에 git flow init 명령어 다시 입력.
merge 수행
git merge master
fatal: refusing to merge unrelated histories
서로 다른 history 이력을 갖고 있는 경우 merge가 되지 않는다.
예) git에 커밋이력이 있고 + git-svn clone한 커밋 이력을 push하려고 하는 경우
옵션 추가해서 pull 먼저하고 다시 merge
git pull origin master --allow-unrelated-histories
git merge master
git commit -m "기존소스 master와 새로만든 develop merge"