본문으로 바로가기

[GIT] Git flow 초기설정 다시하기

category Helloworld!/GIT 2016. 12. 2. 15:47
git flow 를 init 할 때, 바로보고 flow 를 할 브런치 명을 정하지 않고 넘기면 기본값으로 master, develop, release 로 브런치명을 가져간다.
근데 이때 바꾸고싶어서 수정하고싶을 때! .git/config 를 수정하면 된다.
[gitflow "branch"]
    master = master
    develop = development/current
[gitflow "prefix"]
    feature = feature/
    release = release/
    hotfix = hotfix/
    versiontag = release/
    support = support/
.git/config에 들어가서 위처럼 gitflow init 과 관련된 부분을 삭제한다.

참고사이트
http://stackoverflow.com/questions/24754286/how-to-reset-the-git-flow-configuration-in-sourcetree
http://stackoverflow.com/questions/18480923/is-there-a-command-to-undo-git-flow-init